Module: G11n::DSL
- Included in:
- G11n
- Defined in:
- lib/g11n/dsl.rb
Overview
The Facade so the g11n library gets used by humans!
Instance Method Summary collapse
-
#t ⇒ Object
(also: #translate)
Makes the translations.
Instance Method Details
#t ⇒ Object Also known as: translate
Makes the translations. Nice, isn’t it? Also, a bonus :translate alias
7 8 9 |
# File 'lib/g11n/dsl.rb', line 7 def t Translator.instance.translate end |