Class: CSSPool::CSS::FontfaceRule

Inherits:
Node
  • Object
show all
Defined in:
lib/csspool/css/fontface_rule.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#inner_end_pos, #inner_start_pos, #outer_end_pos, #outer_start_pos

Instance Method Summary collapse

Methods inherited from Node

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

Constructor Details

#initializeFontfaceRule

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

#declarationsObject

Returns the value of attribute declarations.



6
7
8
# File 'lib/csspool/css/fontface_rule.rb', line 6

def declarations
  @declarations
end