class InvalidProductTypeError

Public Class Methods

new(product_type) click to toggle source
Calls superclass method
# File lib/coding_challenge/commands/util/invalid_product_type_error.rb, line 4
def initialize(product_type)
  super("Product of type #{product_type.upcase} not in catalog!")
end