Class: Magiq::Types::Float
Instance Attribute Summary
Attributes inherited from Type
Instance Method Summary collapse
Methods inherited from Type
Constructor Details
This class inherits a constructor from Magiq::Types::Type
Instance Method Details
#cast! ⇒ Object
68 69 70 |
# File 'lib/magiq/types.rb', line 68 def cast! raw.to_f end |