Class: Agent::Error
- Inherits:
-
Object
- Object
- Agent::Error
- Defined in:
- lib/agent/error.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ Error
constructor
A new instance of Error.
- #message?(message) ⇒ Boolean
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ Error
Returns a new instance of Error.
3 4 5 |
# File 'lib/agent/error.rb', line 3 def initialize() @message = end |
Instance Method Details
#message?(message) ⇒ Boolean
11 12 13 |
# File 'lib/agent/error.rb', line 11 def () @message == end |
#to_s ⇒ Object
7 8 9 |
# File 'lib/agent/error.rb', line 7 def to_s @message end |