is it right to assigning multiple variable like this a = b = c = d = 5 in ruby?
a = b = c = d = 5 puts (a) >> 5 puts (b) >> 5 puts (b) >> 5 puts (b) >> 5 a= a+1 puts (a) >> 6 puts (b) >> 5 i found there is no problem with the assigning value like this. my question is should one assign like the one given above or a , b, c, d = 5, 5, 5, 5 ...