Class: Dommy::Internal::CSS::Parser::Declaration

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

Instance Attribute Summary collapse

Instance Attribute Details

#importantObject

Returns the value of attribute important

Returns:

  • (Object)

    the current value of important



21
22
23
# File 'lib/dommy/internal/css/parser.rb', line 21

def important
  @important
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



21
22
23
# File 'lib/dommy/internal/css/parser.rb', line 21

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



21
22
23
# File 'lib/dommy/internal/css/parser.rb', line 21

def value
  @value
end