Sha256: 43ba3af81b0cb32c50558635e2c9d7a3f8ac6875e9aaf46f1734c8a726352a9e

Contents?: true

Size: 226 Bytes

Versions: 2

Compression:

Stored size: 226 Bytes

Contents

# frozen_string_literal: true

module EnumIsh
  class DictionaryCache
    def initialize(app)
      @app = app
    end
  
    def call(env)
      EnumIsh::Dictionary.cache do
        @app.call(env)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enum_ish-1.5.1 lib/enum_ish/dictionary_cache.rb
enum_ish-1.5.0 lib/enum_ish/dictionary_cache.rb