class CatTree::Rack

Public Class Methods

new(app) click to toggle source
# File lib/cat_tree/rack.rb, line 5
def initialize(app)
  @app = app
end

Public Instance Methods

call(env) click to toggle source
# File lib/cat_tree/rack.rb, line 9
def call(env)
  Observer.check do
    @app.call(env)
  end
end