Class: CSSPool::CSS::KeyframesBlock

Inherits:
Node
  • Object
show all
Defined in:
lib/csspool/css/keyframes_block.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

#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

#declarationsObject

Returns the value of attribute declarations.



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

def declarations
  @declarations
end

#keyTextObject

Returns the value of attribute keyText.



5
6
7
# File 'lib/csspool/css/keyframes_block.rb', line 5

def keyText
  @keyText
end