class BeerBash::BeerMenus::Place

Attributes

name[R]
path[R]

Public Class Methods

new(name, path) click to toggle source
# File lib/beer_bash/beer_menus.rb, line 11
def initialize(name, path)
  @name = name
  @path = path
end

Public Instance Methods

on_tap() click to toggle source
# File lib/beer_bash/beer_menus.rb, line 16
def on_tap
  Scraper.new.taps(path)
end
to_s() click to toggle source
# File lib/beer_bash/beer_menus.rb, line 20
def to_s
  name
end