Module: WWW::Handler

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#chainObject

Returns the value of attribute chain.



3
4
5
# File 'lib/www/mechanize/chain/handler.rb', line 3

def chain
  @chain
end

Instance Method Details

#handle(ctx, request) ⇒ Object



5
6
7
# File 'lib/www/mechanize/chain/handler.rb', line 5

def handle(ctx, request)
  chain.pass(self, request)
end