Module: Found
- Defined in:
- lib/found.rb,
lib/found/version.rb
Constant Summary collapse
- VERSION =
'0.0.3'
Class Method Summary collapse
Class Method Details
.address ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/found.rb', line 6 def self.address include Geokit::Geocoders begin current_position = Lost.current_position current_address = GoogleGeocoder.reverse_geocode(current_position) puts current_address.full_address rescue SocketError puts 'WiFi connection required to determine location.' end end |