Class: Mida::DataType::Integer

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

Overview

Integer data type Provides access to Integer methods

Instance Method Summary collapse

Methods inherited from Generic

#==, #method_missing, parse, #to_s, #to_yaml

Constructor Details

#initialize(value) ⇒ Integer

Raises ArgumentError if value not valid



9
10
11
# File 'lib/mida_vocabulary/datatype/integer.rb', line 9

def initialize(value)
  @parsedValue = ::Kernel.Integer(value)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Mida::DataType::Generic