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.



81
82
83
# File 'lib/value_object.rb', line 81

def initialize()
  super "At least one field must be declared"
end