Exception: Calibrate::Configurable::NoDefaultValue

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

Instance Method Summary collapse

Constructor Details

#initialize(field_name, klass) ⇒ NoDefaultValue

Returns a new instance of NoDefaultValue.



17
18
19
# File 'lib/calibrate/configurable.rb', line 17

def initialize(field_name, klass)
  super("No default value for field #{field_name} on class #{klass.name}")
end