[ create a new paste ] login | about

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

jleedev - Ruby, pasted on Apr 26:
1
2
3
4
5
6
p = method   :p
p             p
3.times      &p
0.upto 2,    &p
(0..2).each  &p
(0...3).each &p


Output:
1
2
3
4
5
6
7
8
9
10
11
12
13
#<Method: Object(Kernel)#p>
0
1
2
0
1
2
0
1
2
0
1
2


Create a new paste based on this one


Comments: