Class: Mida::DataType::Float
- Defined in:
- lib/mida/datatype/float.rb
Overview
Float data type Provides access to Float methods
Instance Method Summary collapse
-
#initialize(value) ⇒ Float
constructor
Raises
ArgumentError
if value not valid.
Methods inherited from Generic
#==, #method_missing, parse, #to_s, #to_yaml
Constructor Details
#initialize(value) ⇒ Float
Raises ArgumentError
if value not valid
11 12 13 |
# File 'lib/mida/datatype/float.rb', line 11 def initialize(value) @parsedValue = ::Kernel.Float(value) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Mida::DataType::Generic