Exception: ValueObject::NotDeclaredFields
- Inherits:
-
Exception
- Object
- Exception
- ValueObject::NotDeclaredFields
- Defined in:
- lib/value_object.rb
Instance Method Summary collapse
-
#initialize ⇒ NotDeclaredFields
constructor
A new instance of NotDeclaredFields.
Constructor Details
#initialize ⇒ NotDeclaredFields
Returns a new instance of NotDeclaredFields.
66 67 68 |
# File 'lib/value_object.rb', line 66 def initialize() super "At least one field must be declared" end |