Class: GreyhawkWeatherGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/greyhawkweathergenerator.rb

Class Method Summary collapse

Class Method Details

.create_weather_generator(options) ⇒ Object



7
8
9
10
11
# File 'lib/greyhawkweathergenerator.rb', line 7

def self.create_weather_generator (options)
  WeatherGenerator.new(BaselineData.load("data/baselinedata.yml"), 
                       PrecipitationOccurance.load("data/precipitationoccurance.yml"),
                       options)
end