Exception: Baf::Testing::WaitError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/baf/testing/cucumber/steps/output_wait.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, timeout) ⇒ WaitError

Returns a new instance of WaitError.



8
9
10
11
# File 'lib/baf/testing/cucumber/steps/output_wait.rb', line 8

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

Instance Attribute Details

#timeoutObject (readonly)

Returns the value of attribute timeout.



6
7
8
# File 'lib/baf/testing/cucumber/steps/output_wait.rb', line 6

def timeout
  @timeout
end