module BomWeatherCodes
BomWeatherCodes — BOM icon_code → condition label and precis text.
Constants
- CODES
Public Instance Methods
Source
# File lib/bom_weather_codes.rb, line 27 def lookup(icon_code) CODES[icon_code.to_i] || { condition: nil, precis: nil } end