Class: EventMachine::Synchrony::Mechanize
- Inherits:
-
Mechanize
- Object
- Mechanize
- EventMachine::Synchrony::Mechanize
- Defined in:
- lib/em-synchrony/mechanize.rb
Defined Under Namespace
Modules: DeferedNetHttpPersistentRequest
Instance Method Summary collapse
-
#initialize(*args, &blk) ⇒ Mechanize
constructor
A new instance of Mechanize.
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 |