class Pry::BlockCommand

A super-class for Commands that are created with a single block.

This class ensures that the block is called with the correct number of arguments and the right context.

Create subclasses using {Pry::CommandSet#command}.