Exception: ObjectViewError
- Inherits:
-
StandardError
- Object
- StandardError
- ObjectViewError
- Defined in:
- lib/object_view/errors/object_view_error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#original ⇒ Object
readonly
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(msg, original = nil) ⇒ ObjectViewError
constructor
A new instance of ObjectViewError.
Constructor Details
#initialize(msg, original = nil) ⇒ ObjectViewError
Returns a new instance of ObjectViewError.
4 5 6 7 |
# File 'lib/object_view/errors/object_view_error.rb', line 4 def initialize(msg, original=nil); super(msg); @original = original; end |
Instance Attribute Details
#original ⇒ Object (readonly)
Returns the value of attribute original.
2 3 4 |
# File 'lib/object_view/errors/object_view_error.rb', line 2 def original @original end |