Method: Hanami::Model::Mapping#t

Defined in:
lib/hanami/model/mapping.rb

#t(name, *args) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0



24
25
26
# File 'lib/hanami/model/mapping.rb', line 24

def t(name, *args)
  self.class[name, *args]
end