lib/roda/plugins/heartbeat.rb
def _roda_before_20__heartbeat
          if env['PATH_INFO'] == opts[:heartbeat_path]
            response = HEARTBEAT_RESPONSE.dup
            response[1] = Hash[response[1]]
            throw :halt, response
          end
        end
# If the request is for a heartbeat path, return the heartbeat response.
If the request is for a heartbeat path, return the heartbeat response.
If the request is for a heartbeat path return the heartbeat response .
def _roda_before_20__heartbeat
          if env['PATH_INFO'] == opts[:heartbeat_path]
            response = HEARTBEAT_RESPONSE.dup
            response[1] = Hash[response[1]]
            throw :halt, response
          end
        end
def _roda_before_20__heartbeat if env [ 'PATH_INFO' ] == opts [ :heartbeat_path ] response = HEARTBEAT_RESPONSE . dup response [ 1 ] = Hash [ response [ 1 ] ] throw :halt , response end end
If the request is for a heartbeat path, return the heartbeat response.
If the request is for a heartbeat path return the heartbeat response .