Class: Paggio::CSS::Animation::Step

Inherits:
BasicObject
Defined in:
lib/paggio/css/animation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Step

Returns a new instance of Step.



17
18
19
20
# File 'lib/paggio/css/animation.rb', line 17

def initialize(value)
  @value      = value
  @definition = Definition.new
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args, &block) ⇒ Object



22
23
24
# File 'lib/paggio/css/animation.rb', line 22

def method_missing(*args, &block)
  @definition.__send__(*args, &block)
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



15
16
17
# File 'lib/paggio/css/animation.rb', line 15

def value
  @value
end