Module: WineDb::Matcher

Included in:
Reader
Defined in:
lib/winedb/reader.rb

Instance Method Summary collapse

Instance Method Details

#match_wineries_for_country(name, &blk) ⇒ Object

def match_wines_for_country_n_region( name, &blk )

  match_xxx_for_country_n_region( name, 'wines', &blk )
end


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

def match_wineries_for_country( name, &blk )
  match_xxx_for_country( name, 'wineries', &blk )
end

#match_wines_for_country(name, &blk) ⇒ Object



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

def match_wines_for_country( name, &blk )
  match_xxx_for_country( name, 'wines', &blk )
end