Class: Mida::DataType::Integer
- Defined in:
- lib/mida/datatype/integer.rb
Overview
Integer data type Provides access to Integer methods
Instance Method Summary collapse
-
#initialize(value) ⇒ Integer
constructor
Raises
ArgumentError
if value not valid.
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/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