Exception: RunLengthEncodingRb::Error
- Inherits:
-
StandardError
- Object
- StandardError
- RunLengthEncodingRb::Error
- Defined in:
- lib/run_length_encoding_rb/error.rb
Overview
Base class.
Direct Known Subclasses
AttrInaccessibleError, AttrMissingError, NegativeIntError, TypeError
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message) ⇒ Error
Returns a new instance of Error.
10 11 12 13 |
# File 'lib/run_length_encoding_rb/error.rb', line 10 def initialize() @message = super() end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
8 9 10 |
# File 'lib/run_length_encoding_rb/error.rb', line 8 def @message end |