Class: InlineTranslation::Translators::Null
- Defined in:
- lib/inline_translation/translators/null.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Null
constructor
A new instance of Null.
- #translate(text, from: nil, to: I18n.locale) ⇒ Object
Methods inherited from Base
Constructor Details
#initialize ⇒ Null
Returns a new instance of Null.
9 10 |
# File 'lib/inline_translation/translators/null.rb', line 9 def initialize end |
Class Method Details
.ready? ⇒ Boolean
5 6 7 |
# File 'lib/inline_translation/translators/null.rb', line 5 def self.ready? true end |
Instance Method Details
#translate(text, from: nil, to: I18n.locale) ⇒ Object
12 13 14 |
# File 'lib/inline_translation/translators/null.rb', line 12 def translate(text, from: nil, to: I18n.locale) nil end |