Class: Localization::LString

Inherits:
Object
  • Object
show all
Includes:
Localization
Defined in:
lib/localization.rb

Constant Summary

Constants included from Localization

LOCALIZED_STRINGS

Instance Method Summary collapse

Methods included from Localization

#l, load_localized_strings, #valid_language?

Constructor Details

#initialize(symbol, arguments) ⇒ LString

Returns a new instance of LString.



71
72
73
# File 'lib/localization.rb', line 71

def initialize(symbol, arguments)
  @symbol, @arguments = symbol, arguments
end

Instance Method Details

#to_sObject



75
76
77
# File 'lib/localization.rb', line 75

def to_s
  l(@symbol, @arguments)
end