class.c: adjust indent
* class.c (singleton_class_of): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ee22fad45d
commit
111c791c37
2
class.c
2
class.c
@ -1419,7 +1419,7 @@ singleton_class_of(VALUE obj)
|
|||||||
else {
|
else {
|
||||||
enum ruby_value_type type = BUILTIN_TYPE(obj);
|
enum ruby_value_type type = BUILTIN_TYPE(obj);
|
||||||
if (type == T_FLOAT || type == T_BIGNUM) {
|
if (type == T_FLOAT || type == T_BIGNUM) {
|
||||||
rb_raise(rb_eTypeError, "can't define singleton");
|
rb_raise(rb_eTypeError, "can't define singleton");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user