We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
1 parent 4a07463 commit b071728Copy full SHA for b071728
core/src/main/java/org/jruby/RubyNumeric.java
@@ -649,7 +649,7 @@ public RubyNumeric asNumeric() {
649
*/
650
@JRubyMethod(name = "singleton_method_added")
651
public static IRubyObject sadded(IRubyObject self, IRubyObject name) {
652
- 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());
653
}
654
655
/** num_init_copy
0 commit comments