Method: Datacite::Mapping::GeoLocationPoint#to_s

Defined in:
lib/datacite/mapping/geo_location_point.rb

#to_sString

Gets the coordinates as a string.

Returns:

  • (String)

    the coordinates as a pair of numbers separated by a space, in the order lat long.



57
58
59
# File 'lib/datacite/mapping/geo_location_point.rb', line 57

def to_s
  "#{latitude} #{longitude}"
end