Class: CSSPool::CSS::KeyframesRule

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

#initialize(name) ⇒ KeyframesRule

Returns a new instance of KeyframesRule.



8
9
10
11
# File 'lib/csspool/css/keyframes_rule.rb', line 8

def initialize name
  @name = name
  @rule_sets = []
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#rule_setsObject

Returns the value of attribute rule_sets.



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

def rule_sets
  @rule_sets
end