Class: Eyeliner::StyleRule
- Inherits:
-
Struct
- Object
- Struct
- Eyeliner::StyleRule
- Defined in:
- lib/eyeliner.rb
Instance Attribute Summary collapse
-
#declarations ⇒ Object
Returns the value of attribute declarations.
-
#specificity ⇒ Object
Returns the value of attribute specificity.
Instance Method Summary collapse
Instance Attribute Details
#declarations ⇒ Object
Returns the value of attribute declarations
13 14 15 |
# File 'lib/eyeliner.rb', line 13 def declarations @declarations end |
#specificity ⇒ Object
Returns the value of attribute specificity
13 14 15 |
# File 'lib/eyeliner.rb', line 13 def specificity @specificity end |
Instance Method Details
#<=>(other) ⇒ Object
15 16 17 |
# File 'lib/eyeliner.rb', line 15 def <=>(other) specificity <=> other.specificity end |
#to_s ⇒ Object
19 20 21 |
# File 'lib/eyeliner.rb', line 19 def to_s declarations end |