Sha256: ba8c309d09eb6fcf78e805efbd757e1146e424fc44931e6d726e64ccb1a2eb3a

Contents?: true

Size: 200 Bytes

Versions: 5

Compression:

Stored size: 200 Bytes

Contents

require 'cat_tree/observer'

module CatTree
  class Rack
    def initialize(app)
      @app = app
    end

    def call(env)
      Observer.check do
        @app.call(env)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cat_tree-1.1.1 lib/cat_tree/rack.rb
cat_tree-1.1.0 lib/cat_tree/rack.rb
cat_tree-1.0.0 lib/cat_tree/rack.rb
cat_tree-0.0.2 lib/cat_tree/rack.rb
cat_tree-0.0.1 lib/cat_tree/rack.rb