Sha256: a484a6a86a260222de536faf4611a124d243166ff58df0af5205cff5d92dfdb0

Contents?: true

Size: 208 Bytes

Versions: 3

Compression:

Stored size: 208 Bytes

Contents

module UndergroundWeather
  class Webcams < Array
    def initialize(feed)  
      super()   
      
      feed['webcams'].each do |wc|      
        self << Webcam.new(wc)
      end  
    end   
  end  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
undergroundweather-0.0.3 lib/undergroundweather/features/webcams.rb
undergroundweather-0.0.2 lib/undergroundweather/features/webcams.rb
undergroundweather-0.0.1 lib/undergroundweather/features/webcams.rb