class HG::Weather::Locale

Public Class Methods

get_format(item) click to toggle source
# File lib/hg/weather/locale.rb, line 29
def self.get_format item
  Weather.locale = :en unless @formats.has_key?(Weather.locale.to_sym)

  return @formats[Weather.locale.to_sym][item]
end