Exception: ValueObject::NotDeclaredFields

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

Instance Method Summary collapse

Constructor Details

#initializeNotDeclaredFields

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