fork download
  1. # your code goes here
  2. def foo
  3. yield 1, 2, 3
  4. end
  5.  
  6. foo{|x, y, z|
  7. print x
  8. print y
  9. print z
  10. }
Success #stdin #stdout 0.03s 7456KB
stdin
Standard input is empty
stdout
123