Exception: Gerd::Exceptions::ValidationException
- Inherits:
-
StandardError
- Object
- StandardError
- Gerd::Exceptions::ValidationException
- Defined in:
- lib/gerd/exceptions.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object) ⇒ ValidationException
constructor
A new instance of ValidationException.
Constructor Details
#initialize(object) ⇒ ValidationException
Returns a new instance of ValidationException.
8 9 10 |
# File 'lib/gerd/exceptions.rb', line 8 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
6 7 8 |
# File 'lib/gerd/exceptions.rb', line 6 def object @object end |