Module: Meteorology::InstanceMethods

Defined in:
lib/meteorology.rb

Instance Method Summary collapse

Instance Method Details

#weatherObject



18
19
20
21
22
# File 'lib/meteorology.rb', line 18

def weather
  # Just assumes #latitude and #longitude for now
  # Also just assumes Yr.no
  @weather ||= Meteorology::Providers::Yr.new.load(latitude, longitude)
end