1
0
Fork 0
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:
Richo Healey 2015-06-28 16:40:44 -07:00
parent 48473fb354
commit c4d25287e4

View file

@ -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