Flowdock
method

yield

Importance_1
v1_8_6_287 - Show latest stable - 1 note - Class: Generator
yield(value) public

Yields an element to the generator.

Show source
Register or log in to add new notes.
August 5, 2010
0 thanks

Block_given?

Kernel#block_given? can be used to check if yield would be able to call a block.