Exception: NoMethodError

Inherits:
NameError show all

Instance Method Summary (collapse)

Methods inherited from NameError

#name, #to_s

Methods inherited from Exception

#==, #backtrace, exception, #exception, #inspect, log_exceptions, log_exceptions=, #message, #set_backtrace, #to_s

Constructor Details

- (Object) new(msg, name[, args])

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.

Instance Method Details

- (Object) args

Return the arguments passed in as the third parameter to the constructor.

Returns: