1
0
Fork 0
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:
John Mair 2010-12-18 22:17:07 +13:00
parent 53e3301ad0
commit 6491b0454f

View file

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