No variable declaration needed? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

No variable declaration needed?

HI, i am relatively new to Ruby. Is there no variable necessary?

28th Nov 2017, 10:55 PM
Josef Held
Josef Held - avatar
1 Antwort
+ 2
http://www.techotopia.com/index.php/Understanding_Ruby_Variables ^I don't know Ruby, but that reference should help with it. I didn't read through it, but quick scan, it looks like it'll determine the type, although you can specify it also.
29th Nov 2017, 12:50 AM
AgentSmith