Ruby
Ruby
code posted
created at 07 Oct 09:11, updated at 17 Oct 02:46
Edit
|
Back
1
2
3
4
5
6
7
8
9
10
11 |
do |arg1, arg2|
if arg1 > arg2
puts "Ok!"
end
end
block = Proc.new do |arg1, arg2|
if arg1 > arg2
puts arg3
end
end |
143 Bytes in 3 ms with coderay