A Practice project to learn Ruby Language.
ruby weather_man.rb {-e | -a | -c | -b} {year | year/month} {path_to_file | path_to_fileFolder}
A - Option '-e' use to Display:
- The highest temperature and day
- The lowest temperature and day
- The most humid day and humidity, of the given year
B - Option '-a' use to Display:
- The average highest temperature
- The average lowest temperature
- The average humidity, of a given month
C - Option '-c' use to Display:
- Two horizontal bar charts on the console
- Red for highest Temperature
- Blue for lowest temperature
D - Option '-b' use to Display:
- One horizontal bar chart on the console
- Red part for highest Temperature
- Blue part for lowest temperature
ruby weather_man.rb -e 2006 Murree_weather
ruby weather_man.rb -a 2006/6 Murree_weather/Murree_weather_2006_Jun.txt
ruby weather_man.rb -c 2006/6 Murree_weather/Murree_weather_2006_Jun.txt
ruby weather_man.rb -b 2006/6 Murree_weather/Murree_weather_2006_Jun.txt