+ 5
TIPS #1: Ruby variable declaration chaining
Ruby is expression oriented it can do this: x = y = z = a = b = c = 5 All variables(x, y, z, a, b, c) has the value: 5 Try it out ;)
2 Réponses
+ 5
Thanks
+ 2
@Iwan :D
Ruby is expression oriented it can do this: x = y = z = a = b = c = 5 All variables(x, y, z, a, b, c) has the value: 5 Try it out ;)