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:
parent
6d5eb0831b
commit
a7bba4f35c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Pry
|
||||||
|
|
||||||
def process(gem)
|
def process(gem)
|
||||||
Dir.chdir(Rubygem.spec(gem).full_gem_path) do
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue