Exception: Lackie::AwaitError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Lackie::AwaitError
- Defined in:
- lib/lackie/remote_control.rb
Instance Method Summary collapse
-
#initialize(expression, result) ⇒ AwaitError
constructor
A new instance of AwaitError.
- #message ⇒ Object
Constructor Details
#initialize(expression, result) ⇒ AwaitError
Returns a new instance of AwaitError.
89 90 91 |
# File 'lib/lackie/remote_control.rb', line 89 def initialize(expression, result) @expression, @result = expression, result end |
Instance Method Details
#message ⇒ Object
93 94 95 96 97 |
# File 'lib/lackie/remote_control.rb', line 93 def "Timed out awaiting the result of expression:\n" + "#{@expression}\n" + "The last result was:\n#{@result}" end |