module Pry::Memory
Constants
- VERSION
Public Class Methods
start(strategy = nil, &block)
click to toggle source
Runs some patches
and prepares pry for storing all evaluated variables
# File lib/pry/memory.rb, line 15 def start(strategy = nil, &block) Strategy.configure(strategy, &block) Prompt.replace Hook.register end
stop()
click to toggle source
Stops all activity
and restore patched configuration to its original state
# File lib/pry/memory.rb, line 25 def stop Prompt.restore Hook.unregister end