Permalink
Browse files

Put direction of wind first

  • Loading branch information...
1 parent edfb648 commit ee1c51c9e2f26f926294866a7ddf0bbdfba78c7e @ErebusBat committed Jun 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 current_weather.rb
View
2 current_weather.rb
@@ -85,7 +85,7 @@ def deg_to_dir deg
weather = get_weather woeid
temp = "#{weather.condition.text}, #{weather.condition.temp}°F"
-wind = "Wind: #{weather.wind.speed}mph #{deg_to_dir weather.wind.direction}, Chill:#{weather.wind.chill}°F"
+wind = "Wind: #{deg_to_dir weather.wind.direction} #{weather.wind.speed}mph, Chill:#{weather.wind.chill}°F"
wind = "Calm" if weather.wind.speed <= 1
forecasts = []
weather.forecasts.each do |f|

0 comments on commit ee1c51c

Please sign in to comment.