Sha256: 55355a18e51b1a06de71bd9ce424824e8c4d8e149295f42fce927c6466ddfc7b

Contents?: true

Size: 218 Bytes

Versions: 6

Compression:

Stored size: 218 Bytes

Contents

module AwesomeTranslations::ObjectExtensions
  def t(key, *args, **opts, &blk)
    AwesomeTranslations::GlobalTranslator.translate(key, caller_number: 1, translation_args: args, translation_opts: opts, &blk)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
awesome_translations-0.0.66 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.65 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.64 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.63 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.62 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.61 lib/awesome_translations/object_extensions.rb