1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

update 'edit' command to use _pry_.config.disable_auto_reload

This commit is contained in:
Robert Gleeson 2014-02-07 02:00:50 +01:00
parent 7f0e6f999f
commit 14771b2bb4

View file

@ -165,7 +165,7 @@ class Pry
end
def never_reload?
opts.present?(:'no-reload') || Pry.config.disable_auto_reload
opts.present?(:'no-reload') || _pry_.config.disable_auto_reload
end
def reload?(file_name="")