Class: YamlTranslator::Adapters::BaseAdapter
- Inherits:
-
Object
- Object
- YamlTranslator::Adapters::BaseAdapter
show all
- Defined in:
- lib/yaml-translator/adapters/base_adapter.rb
Instance Method Summary
collapse
Instance Method Details
#default_options ⇒ Object
8
9
10
|
# File 'lib/yaml-translator/adapters/base_adapter.rb', line 8
def default_options
{ to: :en }
end
|
#translate(values, options = {}) ⇒ Object
4
5
6
|
# File 'lib/yaml-translator/adapters/base_adapter.rb', line 4
def translate(values, options={})
raise 'Translation processing is not implemented'
end
|