Sha256: f5e40dbf290b9d1e10db0490199d6c533559b82348593a1a4a9fe9f54188e4b0
Contents?: true
Size: 265 Bytes
Versions: 3
Compression:
Stored size: 265 Bytes
Contents
module Mida module DataType # Integer data type module Integer # Returns the +value+ as an integer # Relies on +Integer+ to raise +ArgumentError+ if not valid def self.extract(value) Integer(value) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mida-0.3.2 | lib/mida/datatype/integer.rb |
mida-0.3.1 | lib/mida/datatype/integer.rb |
mida-0.3.0 | lib/mida/datatype/integer.rb |