Class: Baf::Testing::WaitError

Inherits:
Error
  • Object
show all
Defined in:
lib/baf/testing.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, timeout) ⇒ WaitError

Returns a new instance of WaitError.



14
15
16
17
# File 'lib/baf/testing.rb', line 14

def initialize message, timeout
  super message
  @timeout = timeout
end

Instance Attribute Details

#timeoutObject (readonly)

Returns the value of attribute timeout.



12
13
14
# File 'lib/baf/testing.rb', line 12

def timeout
  @timeout
end