class WeatherCLI::SingleDay
Your code goes hereā¦
Public Class Methods
display(zip='72703')
click to toggle source
# File lib/weatherCLI.rb, line 7 def self.display(zip='72703') # returns raw html from appropriate url html = GatherData::WeatherChannelToday.return_html(zip) # returns applicable data to be used to create object weather_hash = ParseData::WeatherChannelToday.new(html).return_hash today = Forecast::Day.new(weather_hash) WeatherCard::SevenLines.new(today).display end