lib/tap/mechanize/request.rb in tap-mechanize-0.5.1 vs lib/tap/mechanize/request.rb in tap-mechanize-0.6.0
- old
+ new
@@ -1,10 +1,11 @@
+require 'tap/task'
require 'tap/mechanize/agent'
module Tap
module Mechanize
class Request < Tap::Task
- nest :mechanize, Agent # the mechanize agent
+ nest :mechanize, Agent, :instance_reader => :mechanize # the mechanize agent
# Returns the mechanize agent.
#--
# Overrides the default reader to ensure the agent log is set.
def mechanize
\ No newline at end of file