Sha256: ed0d3a9c0de59dd56f7e5061c5b279cb0631189d1a99315dd337341bd855080e

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

module I18n
  module Coverage
    class KeyLogger
      def self.store_key(key)
        stored_keys.add(key)
      end

      def self.stored_keys
        @stored_keys ||= Set[]
      end

      def self.clear_keys
        stored_keys.clear
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
i18n-coverage-0.2.0 lib/i18n/coverage/key_logger.rb