Exception: Elparser::EncodingError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/elparser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, object) ⇒ EncodingError

Returns a new instance of EncodingError.



328
329
330
331
# File 'lib/elparser.rb', line 328

def initialize(message, object)
  @message = message
  @object = object
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



327
328
329
# File 'lib/elparser.rb', line 327

def message
  @message
end

#objectObject (readonly)

Returns the value of attribute object.



327
328
329
# File 'lib/elparser.rb', line 327

def object
  @object
end

Instance Method Details

#to_sObject



332
333
334
# File 'lib/elparser.rb', line 332

def to_s
  @message
end