Class: FireEagle::Location
- Inherits:
-
Object
- Object
- FireEagle::Location
- Includes:
- HappyMapper
- Defined in:
- lib/fireeagle/location.rb
Overview
Represents a location
Instance Method Summary collapse
- #best_guess? ⇒ Boolean
-
#geom ⇒ Object
(also: #geo)
The GeoRuby representation of this location.
- #to_s ⇒ Object
Instance Method Details
#best_guess? ⇒ Boolean
40 41 42 |
# File 'lib/fireeagle/location.rb', line 40 def best_guess? best_guess == true end |
#geom ⇒ Object Also known as: geo
The GeoRuby representation of this location
45 46 47 |
# File 'lib/fireeagle/location.rb', line 45 def geom _point || _box end |
#to_s ⇒ Object
51 52 53 |
# File 'lib/fireeagle/location.rb', line 51 def to_s name end |