1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

enable Object#inspect doc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-03-23 14:00:35 +00:00
parent ab284526a4
commit 0471422beb

View file

@ -409,11 +409,11 @@ inspect_obj(VALUE obj, VALUE str, int recur)
* Time.new.inspect #=> "2008-03-08 19:43:39 +0900"
*/
extern int rb_obj_basic_to_s_p(VALUE);
static VALUE
rb_obj_inspect(VALUE obj)
{
extern int rb_obj_basic_to_s_p(VALUE);
if (TYPE(obj) == T_OBJECT && rb_obj_basic_to_s_p(obj)) {
int has_ivar = 0;
VALUE *ptr = ROBJECT_IVPTR(obj);