Module: SeleniumRecord::Translations
- Included in:
- Base
- Defined in:
- lib/selenium_record/translations.rb
Overview
Contains helper methods for translations
Instance Method Summary collapse
-
#trans(key) ⇒ String
The translation for the given key.
Instance Method Details
#trans(key) ⇒ String
Returns the translation for the given key.
6 7 8 |
# File 'lib/selenium_record/translations.rb', line 6 def trans(key) I18n.t(key) end |