Class: Mida::DataType::Float

Inherits:
Generic
  • Object
show all
Defined in:
lib/mida_vocabulary/datatype/float.rb

Overview

Float data type Provides access to Float methods

Instance Method Summary collapse

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_vocabulary/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