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

fixed Pry::Editor#invoke_editor

Pry::Editor doesn't have a class method called invoke_editor. Fixed to call on an initialized Pry::Editor instance
This commit is contained in:
dsisnero 2014-09-10 12:45:02 -06:00
parent 6d5eb0831b
commit a7bba4f35c

View file

@ -16,7 +16,7 @@ class Pry
def process(gem)
Dir.chdir(Rubygem.spec(gem).full_gem_path) do
Pry::Editor.invoke_editor(".", 0, false)
Pry::Editor.new(_pry_).invoke_editor(".", 0, false)
end
end