chain statements together. : Operators « Language Basics « Ruby






chain statements together.


puts a = b = c = 0  
p [ 3, 1, 7, 0 ].sort.reverse 

 

Related examples in the same category

1.Ruby Operators