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.40 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.39 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.38 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.37 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.36 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.35 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.34 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.33 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.32 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.31 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.30 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.29 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.28 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.27 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.26 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.25 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.24 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.23 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.22 lib/awesome_translations/object_extensions.rb
awesome_translations-0.0.21 lib/awesome_translations/object_extensions.rb