Exception: Expect4r::ExpTimeoutError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Expect4r::ExpTimeoutError
- Defined in:
- lib/expect/io.rb
Instance Method Summary collapse
- #err_msg ⇒ Object
-
#initialize(*args) ⇒ ExpTimeoutError
constructor
A new instance of ExpTimeoutError.
Constructor Details
#initialize(*args) ⇒ ExpTimeoutError
Returns a new instance of ExpTimeoutError.
64 65 66 |
# File 'lib/expect/io.rb', line 64 def initialize(*args) @output, @timeout = args end |
Instance Method Details
#err_msg ⇒ Object
67 68 69 |
# File 'lib/expect/io.rb', line 67 def err_msg "Timeout Error: timeout= #{@timeout}: #{@output}" end |