Class: Placemaker::Coordinates

Inherits:
Object
  • Object
show all
Includes:
XmlHelper
Defined in:
lib/placemaker/coordinates.rb

Instance Method Summary collapse

Methods included from XmlHelper

#initialize

Instance Method Details

#latObject



5
6
7
# File 'lib/placemaker/coordinates.rb', line 5

def lat
  nested_node('latitude').to_f
end

#lngObject



9
10
11
# File 'lib/placemaker/coordinates.rb', line 9

def lng
  nested_node('longitude').to_f
end