# File rbot/plugins/weather.rb, line 21 def describe(m, where) if @metar_cache.has_key?(where) && Time.now - @metar_cache[where].date > 3600 met = @metar_cache[where] else met = Utils.get_metar(where) end if met m.reply met.pretty_print @metar_cache[where] = met else m.reply "couldn't find weather data for #{where}" end end