module R18n
Public Class Methods
t(*params)
click to toggle source
# File lib/conjoin/i18n.rb, line 50 def t(*params) if params.first.is_a? String params.first.split('.').inject(get.t) { |h, k| h[k.to_sym] } else get.t(*params) end end