Exception: Errors::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Errors::Error
- Defined in:
- lib/rtpush/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ Error
constructor
A new instance of Error.
- #message ⇒ Object
Constructor Details
#initialize(msg = nil) ⇒ Error
Returns a new instance of Error.
3 4 5 |
# File 'lib/rtpush/errors.rb', line 3 def initialize(msg = nil) @message = msg end |
Instance Method Details
#message ⇒ Object
7 8 9 |
# File 'lib/rtpush/errors.rb', line 7 def @message end |