Class: EMSpecHelper::Timer
- Inherits:
-
Object
- Object
- EMSpecHelper::Timer
- Defined in:
- lib/onapp/engine/spec/em_helper.rb
Instance Attribute Summary (collapse)
-
- (Object) args
readonly
Returns the value of attribute args.
-
- (Object) block
readonly
Returns the value of attribute block.
Instance Method Summary (collapse)
- - (Object) cancel
-
- (Timer) initialize(*args, &block)
constructor
A new instance of Timer.
Constructor Details
- (Timer) initialize(*args, &block)
Returns a new instance of Timer
5 6 7 8 |
# File 'lib/onapp/engine/spec/em_helper.rb', line 5 def initialize(*args, &block) @args = args @block = block end |
Instance Attribute Details
- (Object) args (readonly)
Returns the value of attribute args
3 4 5 |
# File 'lib/onapp/engine/spec/em_helper.rb', line 3 def args @args end |
- (Object) block (readonly)
Returns the value of attribute block
3 4 5 |
# File 'lib/onapp/engine/spec/em_helper.rb', line 3 def block @block end |
Instance Method Details
- (Object) cancel
10 |
# File 'lib/onapp/engine/spec/em_helper.rb', line 10 def cancel; end |