Permalink
Browse files

does not get the information of included module recursively in Module…

…#included_modules

because it has already got the necessary information by rb_attr_get()
  • Loading branch information...
Watson1978 committed Feb 29, 2012
1 parent e767a91 commit 677f704206497cbe9d65d7ba088a8d283d283c7f
Showing with 0 additions and 1 deletion.
  1. +0 −1 class.c
View
@@ -729,7 +729,6 @@ rb_mod_included_modules_nosuper(VALUE mod, VALUE ary)
for (i = 0; i < count; i++) {
VALUE imod = RARRAY_AT(inc_mods, i);
rb_ary_push(ary, imod);
- rb_ary_concat(ary, rb_mod_included_modules(imod));
}
}
}

0 comments on commit 677f704

Please sign in to comment.