Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyNumeric.java
Original file line number Diff line number Diff line change
@@ -649,7 +649,7 @@ public RubyNumeric asNumeric() {
*/
@JRubyMethod(name = "singleton_method_added")
public static IRubyObject sadded(IRubyObject self, IRubyObject name) {
throw self.getRuntime().newTypeError("can't define singleton method " + name + " for " + self.getType().getName());
throw self.getRuntime().newTypeError("can't define singleton method \"" + name + "\" for " + self.getType().getName());
}

/** num_init_copy

0 comments on commit b071728

Please sign in to comment.