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

Make it clearer that we're copying from config to config

This commit is contained in:
Conrad Irwin 2014-04-29 23:52:22 -07:00
parent c181be7204
commit 5421dbfb34

View file

@ -23,9 +23,9 @@ class Pry
# and use the regular print and exception handlers.
# @param [Pry] _pry_ the Pry instance to make interactive.
def interactive_mode(_pry_)
_pry_.input = Pry.config.input
_pry_.print = Pry.config.print
_pry_.exception_handler = Pry.config.exception_handler
_pry_.config.input = Pry.config.input
_pry_.config.print = Pry.config.print
_pry_.config.exception_handler = Pry.config.exception_handler
Pry::REPL.new(_pry_).start
end