Class: Globalize::Automatic::Translator::EasyTranslate
- Inherits:
-
Globalize::Automatic::Translator
- Object
- Globalize::Automatic::Translator
- Globalize::Automatic::Translator::EasyTranslate
- Defined in:
- lib/globalize/automatic/translator/easy_translate.rb
Instance Method Summary collapse
Methods inherited from Globalize::Automatic::Translator
#after_translate, #before_translate, #run
Instance Method Details
#translate(text, from, to) ⇒ Object
8 9 10 |
# File 'lib/globalize/automatic/translator/easy_translate.rb', line 8 def translate(text, from, to) ::EasyTranslate.translate(text, from: from, to: to) end |