NoMethodError
ruby NoMethodError
A subclass of NameError raised when a method is called on an object that does not define it, and the object has no method_missing fallback. The name attribute is the method name; receiver is the object.
A subclass of NameError raised when a method is called on an object that does not define it, and the object has no method_missing fallback. The name attribute is the method name; receiver is the object.