mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Reset finalization state
This commit is contained in:
parent
48473fb354
commit
c4d25287e4
1 changed files with 2 additions and 0 deletions
|
@ -312,6 +312,8 @@ Readline version #{Readline::VERSION} detected - will not auto_resize! correctly
|
|||
# Set all the configurable options back to their default values
|
||||
def self.reset_defaults
|
||||
@initial_session = true
|
||||
@session_finalized = nil
|
||||
|
||||
self.config = Pry::Config.new Pry::Config::Default.new
|
||||
self.cli = false
|
||||
self.current_line = 1
|
||||
|
|
Loading…
Reference in a new issue