Answers for "name error on ruby"

0

name error on ruby

irb
2.7.3 :001 > a_variable
NameError (undefined local variable or method `a_variable' for main:Object)
2.7.3 :002 > a_variable = 7
 => 7
2.7.3 :003 > a_variable
 => 7
Posted by: Guest on January-08-2022

Browse Popular Code Answers by Language