Class: Duststorm::Attribute::Coordinate
- Inherits:
-
Virtus::Attribute
- Object
- Virtus::Attribute
- Duststorm::Attribute::Coordinate
- Defined in:
- lib/duststorm/attribute/coordinate.rb
Instance Method Summary collapse
Instance Method Details
#coerce(value) ⇒ Object
4 5 6 |
# File 'lib/duststorm/attribute/coordinate.rb', line 4 def coerce(value) value.to_f end |