lib/ratebeer/search.rb
def inspect
      num_beers = @beers && @beers.count || 0
      num_breweries = @breweries && @breweries.count || 0
      val = "#<#{self.class} - #{@query}"
      val << " - #{num_beers} beers / #{num_breweries} breweries" if @beers || @breweries
      val << ">"
    end
# Keys for fields scraped on RateBeer
Keys for fields scraped on RateBeer
Keys for fields scraped on RateBeer
def inspect
      num_beers = @beers && @beers.count || 0
      num_breweries = @breweries && @breweries.count || 0
      val = "#<#{self.class} - #{@query}"
      val << " - #{num_beers} beers / #{num_breweries} breweries" if @beers || @breweries
      val << ">"
    end
def inspect num_beers = @beers && @beers . count || 0 num_breweries = @breweries && @breweries . count || 0 val = "#<#{self.class} - #{@query}" val << " - #{num_beers} beers / #{num_breweries} breweries" if @beers || @breweries val << ">" end
Keys for fields scraped on RateBeer
Keys for fields scraped on RateBeer