Exception: RunLengthEncodingRb::NegativeIntError
- Defined in:
- lib/run_length_encoding_rb/error/negative_int_error.rb
Overview
Raises if run-length is negative.
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message = "") ⇒ NegativeIntError
constructor
A new instance of NegativeIntError.
Constructor Details
#initialize(message = "") ⇒ NegativeIntError
Returns a new instance of NegativeIntError.
10 11 12 |
# File 'lib/run_length_encoding_rb/error/negative_int_error.rb', line 10 def initialize( = "") super() end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
8 9 10 |
# File 'lib/run_length_encoding_rb/error/negative_int_error.rb', line 8 def @message end |