Sha256: 26d9def7785fb32bd06ff3f3a80971fd63429b718708240cf432a98b519e3982

Contents?: true

Size: 137 Bytes

Versions: 15

Compression:

Stored size: 137 Bytes

Contents

require 'net/http'
require 'uri'

def get_page(url)
  url = URI(url.to_s)

  return Spidr::Page.new(url,Net::HTTP.get_response(url))
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
spidr-0.5.0 spec/helpers/page.rb
spidr_epg-1.0.0 spec/helpers/page.rb
spidr-0.4.1 spec/helpers/page.rb
spidr-0.4.0 spec/helpers/page.rb
spidr-0.3.2 spec/helpers/page.rb
spidr-0.3.1 spec/helpers/page.rb
spidr-0.3.0 spec/helpers/page.rb
spidr-0.2.7 spec/helpers/page.rb
spidr-0.2.6 spec/helpers/page.rb
spidr-0.2.5 spec/helpers/page.rb
spidr-0.2.4 spec/helpers/page.rb
spidr-0.2.3 spec/helpers/page.rb
spidr-0.2.2 spec/helpers/page.rb
spidr-0.2.1 spec/helpers/page.rb
spidr-0.2.0 spec/helpers/page.rb