mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
call initialize
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a1d8147e44
commit
b6fe3dae4d
19 changed files with 255 additions and 35 deletions
1
file.c
1
file.c
|
|
@ -101,6 +101,7 @@ file_s_open(argc, argv, klass)
|
|||
if (iterator_p()) {
|
||||
rb_ensure(rb_yield, file, io_close, file);
|
||||
}
|
||||
obj_call_init(file);
|
||||
|
||||
return file;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue