Module: BeerDb::Matcher

Included in:
ReaderBase
Defined in:
lib/beerdb/reader.rb

Instance Method Summary collapse

Instance Method Details

#match_beers_for_country(name, &blk) ⇒ Object



8
9
10
# File 'lib/beerdb/reader.rb', line 8

def match_beers_for_country( name, &blk )
  match_xxx_for_country( name, 'beers', &blk )
end

#match_beers_for_country_n_state(name, &blk) ⇒ Object



12
13
14
# File 'lib/beerdb/reader.rb', line 12

def match_beers_for_country_n_state( name, &blk )
  match_xxx_for_country_n_state( name, 'beers', &blk )
end

#match_breweries_for_country(name, &blk) ⇒ Object



16
17
18
# File 'lib/beerdb/reader.rb', line 16

def match_breweries_for_country( name, &blk )
  match_xxx_for_country( name, 'breweries', &blk )
end

#match_breweries_for_country_n_state(name, &blk) ⇒ Object



20
21
22
# File 'lib/beerdb/reader.rb', line 20

def match_breweries_for_country_n_state( name, &blk )
  match_xxx_for_country_n_state( name, 'breweries', &blk )
end

#match_brewpubs_for_country(name, &blk) ⇒ Object



24
25
26
# File 'lib/beerdb/reader.rb', line 24

def match_brewpubs_for_country( name, &blk )
  match_xxx_for_country( name, 'brewpubs', &blk )
end

#match_brewpubs_for_country_n_state(name, &blk) ⇒ Object



28
29
30
# File 'lib/beerdb/reader.rb', line 28

def match_brewpubs_for_country_n_state( name, &blk )
  match_xxx_for_country_n_state( name, 'brewpubs', &blk )
end