lib/weather_cli/cli.rb
#method used to start the program
method used to start the program
method used to start the program
def print_weather_day(day)
    puts ""
    puts "The weather for #{day.name.upcase} on #{day.date} is: "
    puts "-----------------------------------------------------"
    puts "Weather Type:           #{day.weather_state_name}"       
    puts "Current Temperature:    #{((day.current_temp*9/5) + 32).round()} °F"
    puts "Maximun Temperature:    #{((day.max_temp * 9/5) + 32).round()} °F"
    puts "Minimum Temperature:    #{((day.min_temp * 9/5) + 32).round()} °F"
    puts "Wind Speed:             #{day.wind_speed.round(1)} mph"
    puts "Humidity:               #{day.humidity}%"
    puts "-----------------------------------------------------"
  end
def print_weather_day ( day ) puts "" puts "The weather for #{day.name.upcase} on #{day.date} is: " puts "-----------------------------------------------------" puts "Weather Type:           #{day.weather_state_name}" puts "Current Temperature:    #{((day.current_temp*9/5) + 32).round()} °F" puts "Maximun Temperature:    #{((day.max_temp * 9/5) + 32).round()} °F" puts "Minimum Temperature:    #{((day.min_temp * 9/5) + 32).round()} °F" puts "Wind Speed:             #{day.wind_speed.round(1)} mph" puts "Humidity:               #{day.humidity}%" puts "-----------------------------------------------------" end
method used to start the program
method used to start the program
#Prints the variables from the Forecast class
day
<not_specific>