lib/ratebeer/brewery.rb
def scrape_address
        address_root = info_root.css('div[itemprop="address"] b span')
        address_details = address_root.map { |e| extract_address_element(e) }
        @address = address_details.to_h
      end
# Scrapes the brewery's address.
Scrapes the brewery's address.
Scrapes the brewery ' s address .
def scrape_address
        address_root = info_root.css('div[itemprop="address"] b span')
        address_details = address_root.map { |e| extract_address_element(e) }
        @address = address_details.to_h
      end
def scrape_address address_root = info_root . css ( 'div[itemprop="address"] b span' ) address_details = address_root . map { | e | extract_address_element ( e ) } @address = address_details . to_h end
Scrapes the brewery's address.
Scrapes the brewery ' s address .