eval.c: indent
* eval.c (using_module_recursive): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f2c319395d
commit
b07bdbc2b3
6
eval.c
6
eval.c
@ -1152,15 +1152,15 @@ using_module_recursive(NODE *cref, VALUE klass)
|
|||||||
using_module_recursive(cref, super);
|
using_module_recursive(cref, super);
|
||||||
}
|
}
|
||||||
switch (BUILTIN_TYPE(klass)) {
|
switch (BUILTIN_TYPE(klass)) {
|
||||||
case T_MODULE:
|
case T_MODULE:
|
||||||
module = klass;
|
module = klass;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case T_ICLASS:
|
case T_ICLASS:
|
||||||
module = RBASIC(klass)->klass;
|
module = RBASIC(klass)->klass;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
rb_raise(rb_eTypeError, "wrong argument type %s (expected Module)",
|
rb_raise(rb_eTypeError, "wrong argument type %s (expected Module)",
|
||||||
rb_obj_classname(klass));
|
rb_obj_classname(klass));
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user