Class: CSS::Cascade::Match
- Inherits:
-
Struct
- Object
- Struct
- CSS::Cascade::Match
- Defined in:
- lib/css/cascade.rb
Overview
Allocated once per matching declaration on every resolve; Struct constructs noticeably faster than Data, and Match never escapes ‘resolve`, so it doesn’t need Data’s immutability guarantees.
Instance Attribute Summary collapse
-
#declaration ⇒ Object
Returns the value of attribute declaration.
-
#inline ⇒ Object
Returns the value of attribute inline.
-
#order ⇒ Object
Returns the value of attribute order.
-
#specificity ⇒ Object
Returns the value of attribute specificity.
Instance Attribute Details
#declaration ⇒ Object
Returns the value of attribute declaration
24 25 26 |
# File 'lib/css/cascade.rb', line 24 def declaration @declaration end |
#inline ⇒ Object
Returns the value of attribute inline
24 25 26 |
# File 'lib/css/cascade.rb', line 24 def inline @inline end |
#order ⇒ Object
Returns the value of attribute order
24 25 26 |
# File 'lib/css/cascade.rb', line 24 def order @order end |
#specificity ⇒ Object
Returns the value of attribute specificity
24 25 26 |
# File 'lib/css/cascade.rb', line 24 def specificity @specificity end |