method

yield

v1_9_1_378 - Show latest stable - Class: Proc
yield(*args)
public

Invokes the block, with obj as the block’s parameter. It is to allow a proc object to be a target of when clause in the case statement.