diff --git a/class.c b/class.c index 672a3a28fa..2035d90faa 100644 --- a/class.c +++ b/class.c @@ -1419,7 +1419,7 @@ singleton_class_of(VALUE obj) else { enum ruby_value_type type = BUILTIN_TYPE(obj); if (type == T_FLOAT || type == T_BIGNUM) { - rb_raise(rb_eTypeError, "can't define singleton"); + rb_raise(rb_eTypeError, "can't define singleton"); } }