Class: TestHelpers::Wait::Configuration
- Inherits:
-
Object
- Object
- TestHelpers::Wait::Configuration
- Defined in:
- lib/test-helpers/wait/wait.rb
Instance Attribute Summary collapse
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#wait_interval ⇒ Object
Returns the value of attribute wait_interval.
-
#wait_timeout ⇒ Object
Returns the value of attribute wait_timeout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
23 24 25 26 27 |
# File 'lib/test-helpers/wait/wait.rb', line 23 def initialize @wait_timeout = 5.0 @wait_interval = 0.1 @error_message = 'Timed out waiting for block' end |
Instance Attribute Details
#error_message ⇒ Object
Returns the value of attribute error_message.
21 22 23 |
# File 'lib/test-helpers/wait/wait.rb', line 21 def @error_message end |
#wait_interval ⇒ Object
Returns the value of attribute wait_interval.
21 22 23 |
# File 'lib/test-helpers/wait/wait.rb', line 21 def wait_interval @wait_interval end |
#wait_timeout ⇒ Object
Returns the value of attribute wait_timeout.
21 22 23 |
# File 'lib/test-helpers/wait/wait.rb', line 21 def wait_timeout @wait_timeout end |