Class: Localizer::LString
- Inherits:
-
Object
- Object
- Localizer::LString
- Includes:
- Localizer
- Defined in:
- lib/localizer.rb
Constant Summary
Constants included from Localizer
Instance Method Summary collapse
-
#initialize(symbol, arguments) ⇒ LString
constructor
A new instance of LString.
- #to_s ⇒ Object
Methods included from Localizer
#l, load_localized_strings, #valid_language?
Constructor Details
#initialize(symbol, arguments) ⇒ LString
Returns a new instance of LString.
71 72 73 |
# File 'lib/localizer.rb', line 71 def initialize(symbol, arguments) @symbol, @arguments = symbol, arguments end |
Instance Method Details
#to_s ⇒ Object
75 76 77 |
# File 'lib/localizer.rb', line 75 def to_s l(@symbol, @arguments) end |