Current Path : /usr/local/share/ri/1.8/system/Continuation/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Continuation/call-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the continuation. The program continues from the end of the <tt>callcc</tt> block. If no arguments are given, the original <tt>callcc</tt> returns <tt>nil</tt>. If one argument is given, <tt>callcc</tt> returns it. Otherwise, an array containing <em>args</em> is returned. - !ruby/struct:SM::Flow::VERB body: " callcc {|cont| cont.call } #=> nil\n callcc {|cont| cont.call 1 } #=> 1\n callcc {|cont| cont.call 1, 2, 3 } #=> [1, 2, 3]\n" full_name: Continuation#call is_singleton: false name: call params: | cont.call(args, ...) cont[args, ...] visibility: public