fork(4) download
  1. def foo
  2. return Proc.new { puts 123 }
  3. end
  4.  
  5. def bar(block)
  6. block.call
  7. end
  8.  
  9. bar(foo)
Success #stdin #stdout 0.01s 7408KB
stdin
Standard input is empty
stdout
123