Class: EaseEngine::Timer::Info

Inherits:
Object
  • Object
show all
Defined in:
lib/ease_engine/timer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(end_time_usec, arg, callback) ⇒ Info

Returns a new instance of Info.



8
9
10
11
12
# File 'lib/ease_engine/timer.rb', line 8

def initialize( end_time_usec, arg, callback )
  @end_time_usec = end_time_usec
  @arg = arg
  @callback = callback
end

Instance Attribute Details

#argObject

Returns the value of attribute arg.



6
7
8
# File 'lib/ease_engine/timer.rb', line 6

def arg
  @arg
end

#callbackObject

Returns the value of attribute callback.



6
7
8
# File 'lib/ease_engine/timer.rb', line 6

def callback
  @callback
end

#end_time_usecObject

Returns the value of attribute end_time_usec.



6
7
8
# File 'lib/ease_engine/timer.rb', line 6

def end_time_usec
  @end_time_usec
end