Class: Locomotive::Wagon::TranslationDecorator
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Locomotive::Wagon::TranslationDecorator
show all
- Includes:
- ToHashConcern
- Defined in:
- lib/locomotive/wagon/decorators/translation_decorator.rb
Instance Method Summary
collapse
#prepare_value_for_hash, #to_hash
Instance Method Details
#__attributes__ ⇒ Object
12
13
14
|
# File 'lib/locomotive/wagon/decorators/translation_decorator.rb', line 12
def __attributes__
%i(key values)
end
|
#id ⇒ Object
8
9
10
|
# File 'lib/locomotive/wagon/decorators/translation_decorator.rb', line 8
def id
key
end
|