mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/etc/etc.c: fix struct name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1657cbab0d
commit
6e9c02515d
1 changed files with 1 additions and 1 deletions
|
@ -777,7 +777,7 @@ Init_etc(void)
|
|||
* members of the group.
|
||||
*/
|
||||
rb_define_const(mEtc, "Group", sGroup);
|
||||
rb_set_class_path(sPasswd, mEtc, "Group");
|
||||
rb_set_class_path(sGroup, mEtc, "Group");
|
||||
rb_define_const(rb_cStruct, "Group", sGroup); /* deprecated name */
|
||||
rb_extend_object(sGroup, rb_mEnumerable);
|
||||
rb_define_singleton_method(sGroup, "each", etc_each_group, 0);
|
||||
|
|
Loading…
Reference in a new issue