Module: Sinatra::Async

Defined in:
lib/arachni/ui/web/server.rb

Overview

Monkey patch Sinatra::Async to support error handling.

This is from their own repo, can’t wait for them to push the gem though.

Defined Under Namespace

Modules: Helpers

Instance Method Summary collapse

Instance Method Details

#aerror(&block) ⇒ Object



27
28
29
# File 'lib/arachni/ui/web/server.rb', line 27

def aerror( &block )
    define_method :aerror, &block
end