Top Level Namespace

Defined Under Namespace

Modules: Reck

Instance Method Summary collapse

Instance Method Details

#use(middleware, *args, &block) ⇒ Object



5
6
7
# File 'lib/reck.rb', line 5

def use(middleware, *args, &block)
  $middleware << [middleware, args, block]
end