Class: FireEagle::Location

Inherits:
Object
  • Object
show all
Includes:
HappyMapper
Defined in:
lib/fireeagle/location.rb

Overview

Represents a location

Instance Method Summary collapse

Instance Method Details

#best_guess?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/fireeagle/location.rb', line 40

def best_guess?
  best_guess == true
end

#geomObject 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_sObject



51
52
53
# File 'lib/fireeagle/location.rb', line 51

def to_s
  name
end