Class: BeerList::Establishments::BulldogNortheast
- Inherits:
-
Establishment
- Object
- Establishment
- BeerList::Establishments::BulldogNortheast
- Defined in:
- lib/beer_list/establishments/bulldog_northeast.rb
Constant Summary collapse
- URL =
'http://www.thebulldognortheast.com/beer/'
Instance Attribute Summary
Attributes included from Listable
Instance Method Summary collapse
Methods inherited from Establishment
Methods included from Listable
Instance Method Details
#get_list ⇒ Object
6 7 8 9 10 |
# File 'lib/beer_list/establishments/bulldog_northeast.rb', line 6 def get_list list = page.search('p.copy_menu_item_desc').map(&:text) list.shift 2 # shift off Rotating Cask and Beer Flights list end |
#url ⇒ Object
12 13 14 |
# File 'lib/beer_list/establishments/bulldog_northeast.rb', line 12 def url URL end |