class SyntaxTree::YARV::GetBlockParam

### Summary

‘getblockparam` is a similar instruction to `getlocal` in that it looks for a local variable in the current instruction sequence’s local table and walks recursively up the parent instruction sequences until it finds it. The local it retrieves, however, is a special block local that was passed to the current method. It pushes the value of the block local onto the stack.

### Usage

~~~ruby def foo(&block)

block

end ~~~