Module: Cell::Translation

Defined in:
lib/cell/translation.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(includer) ⇒ Object


2
3
4
5
# File 'lib/cell/translation.rb', line 2

def self.included(includer)
  super
  includer.inheritable_attr :translation_path
end

Instance Method Details

#initializeObject


7
8
9
10
# File 'lib/cell/translation.rb', line 7

def initialize(*)
  super
  @virtual_path = translation_path
end