Sha256: 1f402ec9d5446cae3d041c3df1de892a7a32ae268d60d98a02e351ece11e596b

Contents?: true

Size: 274 Bytes

Versions: 12

Compression:

Stored size: 274 Bytes

Contents

module Mida
  module DataType

    # Number data type
    # Provides access to Float methods
    class Number < Generic

      # Raises +ArgumentError+ if value not valid
      def initialize(value)
        @parsedValue = ::Kernel.Float(value)
      end

    end

  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
mida-0.4.0 lib/mida/datatype/number.rb
mida-0.3.9 lib/mida/datatype/number.rb
mida_vocabulary-0.2.2 lib/mida_vocabulary/datatype/number.rb
mida_vocabulary-0.2 lib/mida_vocabulary/datatype/number.rb
mida-0.3.8 lib/mida/datatype/number.rb
mida-0.3.7 lib/mida/datatype/number.rb
mida-0.3.6 lib/mida/datatype/number.rb
mida_vocabulary-0.1.3 lib/mida_vocabulary/datatype/number.rb
mida_vocabulary-0.1.2 lib/mida_vocabulary/datatype/number.rb
mida_vocabulary-0.1.1 lib/mida_vocabulary/datatype/number.rb
mida_vocabulary-0.1 lib/mida_vocabulary/datatype/number.rb
mida-0.3.3 lib/mida/datatype/number.rb