Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!talisker.lacave.net!lacave.net!not-for-mail From: Fily Salas Newsgroups: comp.lang.ruby Subject: Re: Understanding global variables. Date: Sat, 16 Apr 2011 14:47:19 -0500 Organization: Service de news de lacave.net Lines: 17 Message-ID: References: <962f80bb11f2292d2ba5498cbfca785c@ruby-forum.com> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1302983463 96460 65.111.164.187 (16 Apr 2011 19:51:03 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Sat, 16 Apr 2011 19:51:03 +0000 (UTC) In-Reply-To: <962f80bb11f2292d2ba5498cbfca785c@ruby-forum.com> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 381715 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:3024 Thank you all very much! I would lie if I say that I now understand everything you guys have explained but a lot of thing make a lot more sense. Also part of the confusion is that in other languages like Actionscript 3.0 you define your instance variables outside the methods and I was expecting the same concept in Ruby where variables inside methods cannot be accessed from outside code. I will be reading more about the language. Learning a lot! -- Posted via http://www.ruby-forum.com/.