Method: WeatherFunds::ResultSet#initialize

Defined in:
lib/weather_funds/result_set.rb

#initialize(result_tag, winner_tag) ⇒ ResultSet

Returns a new instance of ResultSet.



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

def initialize(result_tag, winner_tag)
  @result_tag = result_tag
  @winner_tag = winner_tag
  @data       = Nokogiri::XML(open("http://weatherfunds.co.uk/windata.xml"))
end