Exception: RunLengthEncodingRb::TypeError
- Defined in:
- lib/run_length_encoding_rb/error/type_error.rb
Overview
Raises on incorrect data type.
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message = "") ⇒ TypeError
constructor
A new instance of TypeError.
Constructor Details
#initialize(message = "") ⇒ TypeError
Returns a new instance of TypeError.
10 11 12 |
# File 'lib/run_length_encoding_rb/error/type_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/type_error.rb', line 8 def end |