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.20 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.19 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.18 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.17 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.16 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.15 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.14 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.13 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.12 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.10 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.9 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.8 lib/awesome_translations/object_extensions.rb