Parent

Methods

Class/Module Index [+]

Quicksearch

Weatherman::I18N

Attributes

language[RW]

Public Class Methods

new(language) click to toggle source
# File lib/yahoo_weatherman/i18n.rb, line 9
def initialize(language)
  @language = language
end

Public Instance Methods

translate!(attributes) click to toggle source
# File lib/yahoo_weatherman/i18n.rb, line 13
def translate!(attributes)
  if i18n?
    translate_text! attributes
    translate_days! attributes
    translate_locations! attributes
  end
  attributes
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.