Method: Pry::Command#command_block

Defined in:
lib/pry/command.rb

#command_blockObject

The block we pass into a command so long as ‘:takes_block` is not equal to `false`

Examples:

my-command | do
  puts "block content"
end


226
227
228
# File 'lib/pry/command.rb', line 226

def command_block
  @command_block
end