Class: Interaptor::Error
- Inherits:
-
Object
- Object
- Interaptor::Error
- Defined in:
- lib/interaptor/error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(message, source) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, source) ⇒ Error
Returns a new instance of Error.
5 6 7 |
# File 'lib/interaptor/error.rb', line 5 def initialize(, source) self., self.source = , source end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
3 4 5 |
# File 'lib/interaptor/error.rb', line 3 def @message end |
#source ⇒ Object
Returns the value of attribute source.
3 4 5 |
# File 'lib/interaptor/error.rb', line 3 def source @source end |