Class: CSSPool::CSS::Declaration
- Inherits:
-
Struct
- Object
- Struct
- CSSPool::CSS::Declaration
- Includes:
- Visitable
- Defined in:
- lib/csspool/css/declaration.rb
Instance Attribute Summary collapse
-
#expressions ⇒ Object
Returns the value of attribute expressions.
-
#important ⇒ Object
(also: #important?)
Returns the value of attribute important.
-
#property ⇒ Object
Returns the value of attribute property.
-
#rule_set ⇒ Object
Returns the value of attribute rule_set.
Method Summary
Methods included from Visitable
#==, #accept, #children, #each, #hash, #to_css
Instance Attribute Details
#expressions ⇒ Object
Returns the value of attribute expressions
3 4 5 |
# File 'lib/csspool/css/declaration.rb', line 3 def expressions @expressions end |
#important ⇒ Object Also known as: important?
Returns the value of attribute important
3 4 5 |
# File 'lib/csspool/css/declaration.rb', line 3 def important @important end |
#property ⇒ Object
Returns the value of attribute property
3 4 5 |
# File 'lib/csspool/css/declaration.rb', line 3 def property @property end |
#rule_set ⇒ Object
Returns the value of attribute rule_set
3 4 5 |
# File 'lib/csspool/css/declaration.rb', line 3 def rule_set @rule_set end |