Class: Dommy::Internal::CSS::Parser::SupportsRule

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

Overview

evaluates true (Supports.match?).

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#conditionObject

Returns the value of attribute condition

Returns:

  • (Object)

    the current value of condition



52
53
54
# File 'lib/dommy/internal/css/parser.rb', line 52

def condition
  @condition
end

#rulesObject

Returns the value of attribute rules

Returns:

  • (Object)

    the current value of rules



52
53
54
# File 'lib/dommy/internal/css/parser.rb', line 52

def rules
  @rules
end

Instance Method Details

#grouping?Boolean

Returns:

  • (Boolean)


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

def grouping? = true