class InvalidOptionError
Public Class Methods
new(product_type, option_type, option_argument)
click to toggle source
Calls superclass method
# File lib/coding_challenge/commands/util/invalid_option_error.rb, line 4 def initialize(product_type, option_type, option_argument) super("Product of type #{product_type.upcase} and #{option_type.upcase} option type of value #{option_argument.upcase} not in catalog!") end