Class: Dommy::Internal::CSS::Parser::LayerRule

Inherits:
Struct
  • Object
show all
Defined in:
lib/dommy/internal/css/parser.rb

Overview

Its rules always participate; their precedence is decided by layer order (RuleIndex/Cascade), which sits between origin and specificity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



39
40
41
# File 'lib/dommy/internal/css/parser.rb', line 39

def name
  @name
end

#rulesObject

Returns the value of attribute rules

Returns:

  • (Object)

    the current value of rules



39
40
41
# File 'lib/dommy/internal/css/parser.rb', line 39

def rules
  @rules
end

Instance Method Details

#grouping?Boolean

Returns:

  • (Boolean)


40
# File 'lib/dommy/internal/css/parser.rb', line 40

def grouping? = true