Exception: Elparser::EncodingError
- Inherits:
-
StandardError
- Object
- StandardError
- Elparser::EncodingError
- Defined in:
- lib/elparser.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(message, object) ⇒ EncodingError
constructor
A new instance of EncodingError.
- #to_s ⇒ Object
Constructor Details
#initialize(message, object) ⇒ EncodingError
Returns a new instance of EncodingError.
328 329 330 331 |
# File 'lib/elparser.rb', line 328 def initialize(, object) @message = @object = object end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
327 328 329 |
# File 'lib/elparser.rb', line 327 def @message end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
327 328 329 |
# File 'lib/elparser.rb', line 327 def object @object end |
Instance Method Details
#to_s ⇒ Object
332 333 334 |
# File 'lib/elparser.rb', line 332 def to_s @message end |