lib/ratebeer/location.rb
# Keys for fields scraped on RateBeer
Keys for fields scraped on RateBeer
Keys for fields scraped on RateBeer
def scrape_num_breweries
      @num_breweries = doc.at_css('li.active')
                          .text
                          .split(' ')
                          .first
                          .to_i
    end
def scrape_num_breweries @num_breweries = doc . at_css ( 'li.active' ) . text . split ( ' ' ) . first . to_i end
Keys for fields scraped on RateBeer
Keys for fields scraped on RateBeer