class BeerList::NoEstablishmentsError

Public Class Methods

new(msg=nil) click to toggle source
Calls superclass method
# File lib/beer_list/exceptions.rb, line 4
def initialize(msg=nil)
  msg ||= "No establishments are registered"
  super msg
end