Method: MultiPrompt.reset_at

Defined in:
lib/cont/multi_prompt.rb

.reset_at(tag) {|block| ... } ⇒ Object

Limit the continuation to the current block.

Yields:

  • (block)

    The block of code to be run

Returns:

  • (Object)

    The result of the block.



16
17
18
# File 'lib/cont/multi_prompt.rb', line 16

def reset_at(tag, &block)
  prompt0_at(tag, &block)
end