RichardOnRails wrote:
> Hi,
> 
> I've got a 7-liner:
> require 'rubygems'
> require 'breakpoint'
> 
> a = 'aaa'
> b = 'bbb'
> breakpoint
> c = 'ccc'
> 
> In a Command window, I've got:
> K:\_Projects\Ruby\_Ruby_Tests\TestBreakpoint>ruby TestBreakpoint.rb
> Executing break point at TestBreakpoint.rb:9
> irb(main):001:0> local_variables
> => ["id", "block", "_"]
> irb(main):002:0> quit
> 
> Why doesn't the array allegedly presenting local variables:
> 1. Include a, b & c?
> 2. Present the things it does; what do they signify?

I don't know, but you're asking this question on the wrong list.  This 
is not a Rails question, and so should be directed to the main Ruby 
list.

> 
> I'm running Ruby 1.8.6 over WinXP-Pro/SP3
> 
> Thanks in Advance
> Richard

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to