2012-08-12 00:22:29 +00:00
|
|
|
class Pry
|
2012-08-12 01:26:59 +00:00
|
|
|
Pry::Commands.create_command "reset" do
|
|
|
|
group 'Context'
|
|
|
|
description "Reset the REPL to a clean state."
|
|
|
|
|
|
|
|
def process
|
|
|
|
output.puts "Pry reset."
|
|
|
|
exec "pry"
|
|
|
|
end
|
2012-08-12 00:22:29 +00:00
|
|
|
end
|
|
|
|
end
|