mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
added default of TOPLEVEL_BINDING to Pry.start()
This commit is contained in:
parent
53e3301ad0
commit
6491b0454f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ require "#{direc}/pry/input"
|
||||||
require "#{direc}/pry/output"
|
require "#{direc}/pry/output"
|
||||||
|
|
||||||
class Pry
|
class Pry
|
||||||
def self.start(target)
|
def self.start(target=TOPLEVEL_BINDING)
|
||||||
new.repl(target)
|
new.repl(target)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue