Class: EventMachine::Synchrony::Mechanize

Inherits:
Mechanize
  • Object
show all
Defined in:
lib/em-synchrony/mechanize.rb

Defined Under Namespace

Modules: DeferedNetHttpPersistentRequest

Instance Method Summary collapse

Constructor Details

#initialize(*args, &blk) ⇒ Mechanize

Returns a new instance of Mechanize.



6
7
8
9
# File 'lib/em-synchrony/mechanize.rb', line 6

def initialize(*args, &blk)
  super
  @agent.instance_variable_get(:@http).singleton_class.send(:include, DeferedNetHttpPersistentRequest)
end