Class: Metro::AfterIntervalFactory
- Inherits:
-
Object
- Object
- Metro::AfterIntervalFactory
- Defined in:
- lib/metro/animation/after_interval_factory.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#ticks ⇒ Object
readonly
Returns the value of attribute ticks.
Instance Method Summary collapse
-
#initialize(ticks, &block) ⇒ AfterIntervalFactory
constructor
A new instance of AfterIntervalFactory.
Constructor Details
#initialize(ticks, &block) ⇒ AfterIntervalFactory
Returns a new instance of AfterIntervalFactory.
6 7 8 9 |
# File 'lib/metro/animation/after_interval_factory.rb', line 6 def initialize(ticks,&block) @ticks = ticks @block = block end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
4 5 6 |
# File 'lib/metro/animation/after_interval_factory.rb', line 4 def block @block end |
#ticks ⇒ Object (readonly)
Returns the value of attribute ticks.
4 5 6 |
# File 'lib/metro/animation/after_interval_factory.rb', line 4 def ticks @ticks end |