lib/ratebeer/location.rb
# Keys for fields scraped on RateBeer
Keys for fields scraped on RateBeer
Keys for fields scraped on RateBeer
def scrape_name
      @name = doc.at_css('h1')
                 .text
                 .split('Breweries')
                 .first
                 .strip
    end
def scrape_name @name = doc . at_css ( 'h1' ) . text . split ( 'Breweries' ) . first . strip end
Keys for fields scraped on RateBeer
Keys for fields scraped on RateBeer