lib/is_it_working/handler.rb
def call(env)
      if @app.nil? || env[PATH_INFO] == @route_path
        statuses = []
        t = Time.now
        statuses = Filter.run_filters(@filters)
        render(statuses, Time.now - t)
      else
        @app.call(env)
      end
    end
def call(env)
      if @app.nil? || env[PATH_INFO] == @route_path
        statuses = []
        t = Time.now
        statuses = Filter.run_filters(@filters)
        render(statuses, Time.now - t)
      else
        @app.call(env)
      end
    end
def call ( env ) if @app . nil? || env [ PATH_INFO ] == @route_path statuses = [ ] t = Time . now statuses = Filter . run_filters ( @filters ) render ( statuses , Time . now - t ) else @app . call ( env ) end end
Create a new handler. This method can take a block which will yield itself so it can
 be configured.

 The handler can be set up in one of two ways. If no arguments are supplied, it will
 return a regular Rack handler that can be used with a rackup +run+ method or in a
 Rails 3+ routes.rb file. Otherwise, an application stack can be supplied in the first
 argument and a routing path in the second (defaults to <tt>/is_it_working</tt>) so
 it can be used with the rackup +use+ method or in Rails.middleware.
Create a new handler . This method can take a block which will yield itself so it can be configured .