Subject: [ruby-core:28211] difference in caller
From: Roger Pack <rogerdpack2 gmail.com>
Date: Thu, 18 Feb 2010 14:52:13 +0900
I noticed that running a ruby file whose contents are
puts caller.inspect
outputs slightly different things in 1.9 than 1.8
in 1.8
[]
in 1.9
nil
Is this expected? A bug perhaps?
Thanks.
-r