[ create a new paste ] login | about

Link: http://codepad.org/QrVXq8oj    [ raw code | output | fork ]

Ruby, pasted on May 13:
1
2
v = [1,5,3,8,6]
puts "v = #{v.inspect} v.sort = #{v.sort.inspect}"


Output:
1
v = [1, 5, 3, 8, 6] v.sort = [1, 3, 5, 6, 8]


Create a new paste based on this one


Comments: