Class: CSSPool::CSS::Declaration

Inherits:
Struct
  • Object
show all
Includes:
Visitable
Defined in:
lib/csspool/css/declaration.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Visitable

#==, #accept, #children, #each, #hash, #to_css

Instance Attribute Details

#expressionsObject

Returns the value of attribute expressions

Returns:

  • (Object)

    the current value of expressions



3
4
5
# File 'lib/csspool/css/declaration.rb', line 3

def expressions
  @expressions
end

#importantObject Also known as: important?

Returns the value of attribute important

Returns:

  • (Object)

    the current value of important



3
4
5
# File 'lib/csspool/css/declaration.rb', line 3

def important
  @important
end

#propertyObject

Returns the value of attribute property

Returns:

  • (Object)

    the current value of property



3
4
5
# File 'lib/csspool/css/declaration.rb', line 3

def property
  @property
end

#rule_setObject

Returns the value of attribute rule_set

Returns:

  • (Object)

    the current value of rule_set



3
4
5
# File 'lib/csspool/css/declaration.rb', line 3

def rule_set
  @rule_set
end