Class: Barometer::Data::Location

Inherits:
Coordinates show all
Defined in:
lib/barometer/data/location.rb

Instance Method Summary collapse

Methods inherited from Coordinates

#coordinates

Instance Method Details

#to_sObject



13
14
15
16
# File 'lib/barometer/data/location.rb', line 13

def to_s
  [name, city, state_name || state_code,
    country || country_code].compact.join(', ')
end