Class: Estratto::Data::Integer
- Defined in:
- lib/estratto/data/integer.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Estratto::Data::Base
Instance Method Details
#coerce ⇒ Object
7 8 9 |
# File 'lib/estratto/data/integer.rb', line 7 def coerce data.to_i end |