Sha256: 7f8de65e0ea3103080253fe58a9d87c9a8d55f4db0f2ebbcccd41e46ebdd0a31

Contents?: true

Size: 189 Bytes

Versions: 5

Compression:

Stored size: 189 Bytes

Contents

require 'open-uri'

module EolclubScraper

  class Homepage
    def initialize(url='http://eolclub.org/')
      @url = url
    end

    def content
      open(@url).read
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
eolclub_scraper-0.1.0 lib/eolclub_scraper/homepage.rb
eolclub_scraper-0.0.4 lib/eolclub_scraper/homepage.rb
eolclub_scraper-0.0.3 lib/eolclub_scraper/homepage.rb
eolclub_scraper-0.0.2 lib/eolclub_scraper/homepage.rb
eolclub_scraper-0.0.1 lib/eolclub_scraper/homepage.rb