class Bundler::Thor::LineEditor::Readline::PathCompletion

def absolute_matches

def absolute_matches
  Dir[glob_pattern].map do |path|
    if File.directory?(path)
      "#{path}/"
    else
      path
    end
  end
end

def base_path

def base_path
  "#{Dir.pwd}/"
end

def glob_pattern

def glob_pattern
  "#{base_path}#{text}*"
end

def initialize(text)

def initialize(text)
  @text = text
end

def matches

def matches
  relative_matches
end

def relative_matches

def relative_matches
  absolute_matches.map { |path| path.sub(base_path, "") }
end