What is the use of :var in ruby

P

Pradeep Belagapu

Hi,

I am new to Ruby, I would like to know about :var in ruby. I saw this
question in one site but nobody provide any response for this. Please
clear my doubt as early as possible.

Thanks

Pradeep Kumar
 
F

Florian Gilcher

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

I am new to Ruby, I would like to know about :var in ruby. I saw
this
question in one site but nobody provide any response for this. Please
clear my doubt as early as possible.

Thanks

Pradeep Kumar

There is a nice article about ruby symbols (that what those constructs
are called):

http://www.randomhacks.net/articles/2007/01/20/13-ways-of-looking-at-a-ruby-symbol

It may be a bit hard to start with but there is a nice collection of
articles that explain symbols at the very end. Perhaps you should read
those first.

Greetings
Florian Gilcher
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkfsrWMACgkQJA/zY0IIRZb8XACfZt3Geel/YQpZrmMUR0Y1BEIm
yvAAoJPO8sVH1l1hn7ZF4aAjoL7NVMYj
=RgBa
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,289
Messages
2,571,435
Members
48,120
Latest member
Natbelix

Latest Threads

Top