Sha256: a6ed8851f633c84ec3af5ac084b2ad73ad528049761da2ba4686c3117d18a4b0

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

require 'tap/mechanize/request'

module Tap
  module Mechanize
    # :startdoc::manifest gets the uri
    #
    # Submits an Http request to the specified uri and returns the message
    # body.
    #
    #   % tap run -- get http://tap.rubyforge.org --: dump
    #   
    class Get < Request
      
      # Gets the uri and returns the page content.
      def process(uri)
        super(:uri => uri).content
      end
    end 
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tap-mechanize-0.5.0 lib/tap/mechanize/get.rb
tap-mechanize-0.5.1 lib/tap/mechanize/get.rb