1 2 3 4 5
class Pry Pry::Commands.command "!pry", "Start a Pry session on current self; this even works mid multi-line expression." do target.pry end end