Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/avm/patches/object/i18n.rb,
lib/avm/patches/object/fs_cache.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.avm_fs_cache ⇒ Object
8 9 10 |
# File 'lib/avm/patches/object/fs_cache.rb', line 8 def avm_fs_cache ::Avm::Self.application.fs_cache.child(name.variableize) end |
Instance Method Details
#avm_fs_cache ⇒ Object
13 14 15 |
# File 'lib/avm/patches/object/fs_cache.rb', line 13 def avm_fs_cache self.class.avm_fs_cache.child(avm_fs_cache_object_id) end |
#translate(entry_suffix, values = {}) ⇒ Object
6 7 8 |
# File 'lib/avm/patches/object/i18n.rb', line 6 def translate(entry_suffix, values = {}) self.class.translate(entry_suffix, values) end |