lib/order.rb
# define method to remove a product from the @products collection for this order
define method to remove a product from the @products collection for this order
define method to remove a product from the @products collection for this order
def remove_product(product_name)
    raise ArgumentError.new, "That product does not exist in this order" unless @products.key?(product_name)
    @products.delete(product_name)
  end
def remove_product ( product_name ) raise ArgumentError . new , "That product does not exist in this order" unless @products . key? ( product_name ) @products . delete ( product_name ) end
define method to remove a product from the @products collection for this order
define method to remove a product from the @products collection for this order
product_name
<not_specific>