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

remove all Bond references from pry. rel #1180

This commit is contained in:
Robert Gleeson 2014-03-25 16:09:10 +01:00
parent 749ce9c831
commit dc511ab30f
4 changed files with 4 additions and 10 deletions

View file

@ -439,7 +439,9 @@ class Pry
#
# @param [String] search The line typed so far
# @return [Array<String>] Completion words
def complete(search); Bond::DefaultMission.completions; end
def complete(search)
[]
end
private

View file

@ -45,7 +45,7 @@ class Pry
end
def complete(search)
super | Bond::Rc.files(search.split(' ').last || '') | load_path_completions
super | load_path_completions
end
def load_path_completions

View file

@ -189,10 +189,6 @@ class Pry
[".rb", ".c", ".py", ".yml", ".gemspec"].include?(File.extname(str)) ||
str =~ /\/|\\/
end
def complete(search)
super + Bond::Rc.files(search.split(" ").last || '')
end
end
Pry::Commands.add_command(Pry::Command::Edit)

View file

@ -28,10 +28,6 @@ class Pry
end
end
def complete(search)
super + Bond::Rc.files(search.split(" ").last || '')
end
private
def parse_destination(dest)