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:
parent
c181be7204
commit
5421dbfb34
1 changed files with 3 additions and 3 deletions
|
@ -23,9 +23,9 @@ class Pry
|
||||||
# and use the regular print and exception handlers.
|
# and use the regular print and exception handlers.
|
||||||
# @param [Pry] _pry_ the Pry instance to make interactive.
|
# @param [Pry] _pry_ the Pry instance to make interactive.
|
||||||
def interactive_mode(_pry_)
|
def interactive_mode(_pry_)
|
||||||
_pry_.input = Pry.config.input
|
_pry_.config.input = Pry.config.input
|
||||||
_pry_.print = Pry.config.print
|
_pry_.config.print = Pry.config.print
|
||||||
_pry_.exception_handler = Pry.config.exception_handler
|
_pry_.config.exception_handler = Pry.config.exception_handler
|
||||||
Pry::REPL.new(_pry_).start
|
Pry::REPL.new(_pry_).start
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue