Sha256: 2e2345c483254e4abc9a751fa99f9fb604b7fdc9f7e0cd78d4a395c12262b896

Contents?: true

Size: 186 Bytes

Versions: 52

Compression:

Stored size: 186 Bytes

Contents

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

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
awesome_translations-0.0.60 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.59 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.58 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.57 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.56 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.55 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.54 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.53 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.52 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.51 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.50 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.49 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.48 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.47 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.46 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.45 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.44 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.43 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.42 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.41 lib/awesome_translations/object_extensions.rb