class OwaspRiScraper::Homepage
Public Class Methods
new(url='https://www.owasp.org/index.php/Rhode_Island')
click to toggle source
# File lib/owasp_ri_scraper/homepage.rb, line 6 def initialize(url='https://www.owasp.org/index.php/Rhode_Island') @url = url end
Public Instance Methods
content()
click to toggle source
# File lib/owasp_ri_scraper/homepage.rb, line 10 def content open(@url).read end