exe/weather in jake-scripts-2.0.3 vs exe/weather in jake-scripts-2.0.4

- old
+ new

@@ -41,20 +41,18 @@ wind_speed = parsed["current"]["wind_mph"] humidity = parsed["current"]["humidity"] feels_like = parsed["current"]["feelslike_f"] visibility = parsed["current"]["vis_miles"] - puts puts "======================" puts "City: #{location_name}" puts "Temp: #{temp}°F" puts "Feels Like: #{feels_like}°F" puts "Humidity: #{humidity}%" puts "Wind Speed: #{wind_speed} mph" puts "Visibility: #{visibility} mi" puts "======================" - puts end def intl_printer(parsed) # Printer for metric users location_name = parsed["location"]["name"] @@ -62,18 +60,16 @@ wind_speed = parsed["current"]["wind_kph"] humidity = parsed["current"]["humidity"] feels_like = parsed["current"]["feelslike_c"] visibility = parsed["current"]["vis_km"] - puts puts "======================" puts "City: #{location_name}" puts "Temp: #{temp}°C" puts "Feels Like: #{feels_like}°C" puts "Humidity: #{humidity}%" puts "Wind Speed: #{wind_speed} kph" puts "Visibility: #{visibility} km" puts "======================" - puts end weather