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
string.c
1
string.c
|
@ -177,6 +177,7 @@ str_s_new(klass, orig)
|
|||
if (rb_safe_level() >= 3) {
|
||||
FL_SET(str, STR_TAINT);
|
||||
}
|
||||
obj_call_init((VALUE)str);
|
||||
|
||||
return (VALUE)str;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue