Module: BMC::ActiveModelTypeCast::Boolean

Defined in:
lib/bmc/active_model_type_cast.rb

Instance Method Summary collapse

Instance Method Details

#cast_value(value) ⇒ Object



42
43
44
45
# File 'lib/bmc/active_model_type_cast.rb', line 42

def cast_value(value)
  value = value.strip if value.is_a?(String)
  super(value)
end