Module: I18nable::InstanceMethods

Defined in:
lib/i18nable.rb

Instance Method Summary collapse

Instance Method Details

#localize(*args) ⇒ Object



16
17
18
# File 'lib/i18nable.rb', line 16

def localize(*args)
  self.class.localize(*args)
end

#translate(key, options = {}) ⇒ Object



12
13
14
# File 'lib/i18nable.rb', line 12

def translate(key, options = {})
  self.class.translate(key, options)
end