Class: EMSpecHelper::Timer

Inherits:
Object
  • Object
show all
Defined in:
lib/onapp/engine/spec/em_helper.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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