Class: CSSPool::CSS::FontfaceRule
- Defined in:
- lib/csspool/css/fontface_rule.rb
Instance Attribute Summary collapse
-
#declarations ⇒ Object
Returns the value of attribute declarations.
Attributes inherited from Node
#inner_end_pos, #inner_start_pos, #outer_end_pos, #outer_start_pos
Instance Method Summary collapse
-
#initialize ⇒ FontfaceRule
constructor
A new instance of FontfaceRule.
Methods inherited from Node
#==, #accept, #children, #each, #hash, #to_css, #to_minified_css
Constructor Details
#initialize ⇒ FontfaceRule
Returns a new instance of FontfaceRule.
8 9 10 |
# File 'lib/csspool/css/fontface_rule.rb', line 8 def initialize @declarations = [] end |
Instance Attribute Details
#declarations ⇒ Object
Returns the value of attribute declarations.
6 7 8 |
# File 'lib/csspool/css/fontface_rule.rb', line 6 def declarations @declarations end |