class Rubikon::UnexpectedArgumentError

Raised if an argument is passed, that does not match a validation rule

@author Sebastian Staudt @see HasArguments#check_args @since 0.6.0

Public Class Methods

new(arg) click to toggle source

Creates a new error and stores the given argument value

@param [Symbol] arg The given argument value

Calls superclass method
# File lib/rubikon/errors.rb, line 89
def initialize(arg)
  super "Unexpected argument: #{arg}"
end