Class: Humanized::Localized

Inherits:
Hash show all
Defined in:
lib/more/humanized/localized.rb

Instance Method Summary collapse

Methods inherited from Hash

#_, #humanized_variables?

Instance Method Details

#to_humanized(humanizer) ⇒ Object



21
22
23
24
# File 'lib/more/humanized/localized.rb', line 21

def to_humanized(humanizer)
  lc = humanizer.language_code
  return self[lc]
end