Class: Localization::LString
- Inherits:
-
Object
- Object
- Localization::LString
- Includes:
- Localization
- Defined in:
- lib/localization.rb
Constant Summary
Constants included from Localization
Instance Method Summary collapse
-
#initialize(symbol, arguments) ⇒ LString
constructor
A new instance of LString.
- #to_s ⇒ Object
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_s ⇒ Object
75 76 77 |
# File 'lib/localization.rb', line 75 def to_s l(@symbol, @arguments) end |