Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6761

what's object_id in irb?

X-Received by 10.224.175.65 with SMTP id w1mr21379605qaz.7.1362501033496; Tue, 05 Mar 2013 08:30:33 -0800 (PST)
X-Received by 10.49.48.12 with SMTP id h12mr1038493qen.8.1362501033381; Tue, 05 Mar 2013 08:30:33 -0800 (PST)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!t2no9071098qal.0!news-out.google.com!q17ni793qal.0!nntp.google.com!t2no9071092qal.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.ruby
Date Tue, 5 Mar 2013 08:30:33 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=151.95.192.13; posting-account=vXY0_goAAACYds8ElXkonr9auGekCyJg
NNTP-Posting-Host 151.95.192.13
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <2c64d5aa-e5a3-4db4-b442-daeace8cb263@googlegroups.com> (permalink)
Subject what's object_id in irb?
From Massimo Donati <mass.donati@gmail.com>
Injection-Date Tue, 05 Mar 2013 16:30:33 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.ruby:6761

Show key headers only | View raw


Hi everyone i'm running this lines of code:

[home/] irb
2.0.0p0 :001 > object_id
 => 70156571578960


I can't really understand what is this object_id referred to since is not called from any object?

Thanks very much!
Massimo

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar


Thread

what's object_id in irb? Massimo Donati <mass.donati@gmail.com> - 2013-03-05 08:30 -0800
  Re: what's object_id in irb? Robert Klemme <shortcutter@googlemail.com> - 2013-03-05 22:35 +0100

csiph-web