Module: GeoPoint::CoreExtension
- Included in:
- GeoPoint
- Defined in:
- lib/geo_point/core_extension.rb
Instance Method Summary collapse
Instance Method Details
#geo_point ⇒ Object
7 8 9 |
# File 'lib/geo_point/core_extension.rb', line 7 def geo_point GeoPoint.new self end |
#to_coords ⇒ Object
3 4 5 |
# File 'lib/geo_point/core_extension.rb', line 3 def to_coords send(:"to_#{GeoPoint.coord_mode}") end |