mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2000-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6f82a67fd0
commit
bf70582cf3
19 changed files with 130 additions and 23 deletions
2
struct.c
2
struct.c
|
@ -376,8 +376,10 @@ inspect_struct(s)
|
|||
rb_str_cat(str, "=", 1);
|
||||
str2 = rb_inspect(RSTRUCT(s)->ptr[i]);
|
||||
rb_str_cat(str, RSTRING(str2)->ptr, RSTRING(str2)->len);
|
||||
OBJ_INFECT(str, str2);
|
||||
}
|
||||
rb_str_cat(str, ">", 1);
|
||||
OBJ_INFECT(str, s);
|
||||
|
||||
return str;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue