new

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.

doc_ruby_on_rails
2015-04-22 20:44:17
Comments
Leave a Comment

Please login to continue.