Class: BeerList::Establishments::Establishment
- Inherits:
-
Object
- Object
- BeerList::Establishments::Establishment
show all
- Includes:
- Listable
- Defined in:
- lib/beer_list/establishments/establishment.rb
Direct Known Subclasses
AcadiaCafe, BlueDoorPub, BlueNile, BulldogLowertown, BulldogNortheast, BulldogUptown, BustersOn28th, EdinaGrill, GingerHop, GrovelandTap, HappyGnome, LongfellowGrill, LowryUptown, MackenziePub, MacsIndustrial, McCoysMN, MuddyPig, MuddyWaters, NewBohemia, StanleysBarRoom, ThreeSquares, WashingtonSquare
Instance Attribute Summary
Attributes included from Listable
#page
Instance Method Summary
collapse
Methods included from Listable
#list
Instance Method Details
#get_list ⇒ Object
6
7
8
|
# File 'lib/beer_list/establishments/establishment.rb', line 6
def get_list
raise "#{__method__} is not implemented in #{self.class.name}"
end
|
#short_class_name ⇒ Object
14
15
16
|
# File 'lib/beer_list/establishments/establishment.rb', line 14
def short_class_name
self.class.name.split('::').last
end
|
#url ⇒ Object
10
11
12
|
# File 'lib/beer_list/establishments/establishment.rb', line 10
def url
raise "#{__method__} is not implemented in #{self.class.name}"
end
|