Class: Wikidata::Property::GlobeCoordinate

Inherits:
Base
  • Object
show all
Defined in:
lib/wikidata/property/globe_coordinate.rb

Instance Attribute Summary

Attributes inherited from Base

#property

Instance Method Summary collapse

Methods inherited from Base

#initialize, #value

Constructor Details

This class inherits a constructor from Wikidata::Property::Base

Instance Method Details

#latitudeObject



4
5
6
# File 'lib/wikidata/property/globe_coordinate.rb', line 4

def latitude
  value.latitude
end

#longitudeObject



8
9
10
# File 'lib/wikidata/property/globe_coordinate.rb', line 8

def longitude
  value.longitude
end