Exception: Origami::UnterminatedObjectError

Inherits:
Exception
  • Object
show all
Defined in:
lib/origami/object.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, obj) ⇒ UnterminatedObjectError

Returns a new instance of UnterminatedObjectError.



235
236
237
238
# File 'lib/origami/object.rb', line 235

def initialize(msg,obj)
  super(msg)
  @obj = obj
end

Instance Attribute Details

#objObject (readonly)

Returns the value of attribute obj.



234
235
236
# File 'lib/origami/object.rb', line 234

def obj
  @obj
end