NoMethodError.new(msg, name [, args]) â no_method_error
Class Public methods
Construct a NoMethodError exception for a
method of the given name called with the given arguments. The name may be
accessed using the #name method on the resulting object, and
the arguments using the #args method.