Class: Tap::Mechanize::Get

Inherits:
Request
  • Object
show all
Defined in:
lib/tap/mechanize/get.rb

Overview

:startdoc::task gets the uri

Submits an Http request to the specified uri and returns the message body.

% tap run -- get http://tap.rubyforge.org --: dump

Instance Method Summary collapse

Methods inherited from Request

#mechanize

Instance Method Details

#process(uri) ⇒ Object

Gets the uri and returns the page content.



15
16
17
# File 'lib/tap/mechanize/get.rb', line 15

def process(uri)
  super(:uri => uri).content
end