Sha256: bfb26e536dbe695a303ad58b422f616b3f4e3ff6ab46f63a11d14b86bf350d54
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 Bytes
Contents
class Mechanize class Chain class PostPageHook include Handler attr_accessor :hooks def initialize(hooks = []) @hooks = hooks end def handle(ctx, page) @hooks.each { |hook| hook.call(page) } super end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kitamomonga-mechanize-0.9.3.20090724215219 | lib/mechanize/chain/post_page_hook.rb |