Class: Placemaker::Coordinates
- Inherits:
-
Object
- Object
- Placemaker::Coordinates
- Includes:
- XmlHelper
- Defined in:
- lib/placemaker/coordinates.rb
Instance Method Summary collapse
Methods included from XmlHelper
Instance Method Details
#lat ⇒ Object
5 6 7 |
# File 'lib/placemaker/coordinates.rb', line 5 def lat nested_node('latitude').to_f end |
#lng ⇒ Object
9 10 11 |
# File 'lib/placemaker/coordinates.rb', line 9 def lng nested_node('longitude').to_f end |