Parent

Methods

Included Modules

Class Index [+]

Quicksearch

Mechanize::Chain::PreConnectHook

Attributes

hooks[RW]

Public Class Methods

new() click to toggle source
   # File lib/mechanize/chain/pre_connect_hook.rb, line 7
7:       def initialize
8:         @hooks = []
9:       end

Public Instance Methods

handle(ctx, params) click to toggle source
    # File lib/mechanize/chain/pre_connect_hook.rb, line 11
11:       def handle(ctx, params)
12:         @hooks.each { |hook| hook.call(params) }
13:         super
14:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.