Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/module.rb
Original file line number Diff line number Diff line change
@@ -317,7 +317,7 @@ def instance_method(name)
var meth = self._proto['$' + name];
if (!meth || meth.rb_stub) {
#{raise NameError, "undefined method `wut' for class `#{name}'"};
#{raise NameError, "undefined method `#{name}' for class `#{self.name}'"};
}
return #{UnboundMethod.new(self, `meth`, name)};

0 comments on commit 2163008

Please sign in to comment.