Sha256: 115a2a51f88a94f7b923eab3f02c29cd001421abc4701641a41e099d1a90553e
Contents?: true
Size: 328 Bytes
Versions: 11
Compression:
Stored size: 328 Bytes
Contents
module Hyperstack module I18n def t(attribute, opts = {}) namespace = self.class.name.underscore.gsub(%r{::|/}, '.') Hyperstack::Internal::I18n.t("#{namespace}.#{attribute}", opts) end def l(time, format = :default, opts = {}) Hyperstack::Internal::I18n.l(time, format, opts) end end end
Version data entries
11 entries across 11 versions & 1 rubygems