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