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


Groups > comp.lang.ruby > #3024

Re: Understanding global variables.

From Fily Salas <fs_tigre@hotmail.com>
Newsgroups comp.lang.ruby
Subject Re: Understanding global variables.
Date 2011-04-16 14:47 -0500
Organization Service de news de lacave.net
Message-ID <d68b4bd5f2d56bd6b5532eab7fba1636@ruby-forum.com> (permalink)
References <962f80bb11f2292d2ba5498cbfca785c@ruby-forum.com>

Show all headers | View raw


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/.

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


Thread

Understanding global variables. Fily Salas <fs_tigre@hotmail.com> - 2011-04-14 19:55 -0500
  Re: Understanding global variables. 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-14 20:05 -0500
  Re: Understanding global variables. jake kaiden <jakekaiden@yahoo.com> - 2011-04-14 22:30 -0500
  Re: Understanding global variables. Fily Salas <fs_tigre@hotmail.com> - 2011-04-15 08:13 -0500
    Re: Understanding global variables. 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-15 13:10 -0500
  Re: Understanding global variables. jake kaiden <jakekaiden@yahoo.com> - 2011-04-15 08:36 -0500
  Re: Understanding global variables. Fily Salas <fs_tigre@hotmail.com> - 2011-04-15 09:14 -0500
  Re: Understanding global variables. jake kaiden <jakekaiden@yahoo.com> - 2011-04-15 09:20 -0500
  Re: Understanding global variables. Fily Salas <fs_tigre@hotmail.com> - 2011-04-16 14:47 -0500

csiph-web