Sha256: a9ddbbfc82689c02b5b2bf112d3fbe3afcc4e66c2fca0ee78b4446932ea47e36

Contents?: true

Size: 208 Bytes

Versions: 2

Compression:

Stored size: 208 Bytes

Contents

require 'i18n/coverage/key_logger'

module I18n
  module Backend
    module KeyLogger
      def translate(*args)
        I18n::Coverage::KeyLogger.store_key(args[1])
        super
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
i18n-coverage-0.1.1 lib/i18n/backend/key_logger.rb
i18n-coverage-0.1.0 lib/i18n/backend/key_logger.rb