Type:
Class

Raised when a method is called on a receiver which doesn't have it defined and also fails to respond with method_missing.

"hello".to_ary

raises the exception:

NoMethodError: undefined method `to_ary' for "hello":String
args

no_method_error.args â obj Instance Public methods Return the arguments passed

2015-04-22 20:50:36
new

NoMethodError.new(msg, name [, args]) â no_method_error Class Public methods Construct

2015-04-22 20:44:17