Method: Plugins::Weather#initialize
- Defined in:
- lib/Zeta/plugins/weather.rb
#initialize(*args) ⇒ Weather
Returns a new instance of Weather.
31 32 33 34 35 |
# File 'lib/Zeta/plugins/weather.rb', line 31 def initialize(*args) @api_src = %w{wu noaa darksky owm} @store = Persist.new(File.join(Dir.home, '.zeta', 'cache', 'weather.pstore')) super end |