Module WeatherHacks::ForecastMap
In: lib/weatherhacks/forecastmap.rb
lib/weatherhacks.rb

Methods

area  

Classes and Modules

Class WeatherHacks::ForecastMap::Area
Class WeatherHacks::ForecastMap::City
Class WeatherHacks::ForecastMap::Pref

Constants

AREA = Hash.new
PREF = Hash.new
CITY = Hash.new
AREAS = Array.new

Public Class methods

[Source]

    # File lib/weatherhacks.rb, line 56
56:     def self.area(title, rss, &block)
57:       area = Area.new(title, rss)
58:       area.instance_eval(&block)
59:       AREA[area.name] = area
60:       AREAS << area
61:     end

[Validate]