In Files

  • irb/completion.rb

IRB::InputCompletor

Public Class Methods

select_message(receiver, message, candidates, sep = ".") click to toggle source
 
               # File irb/completion.rb, line 214
def self.select_message(receiver, message, candidates, sep = ".")
  candidates.grep(/^#{message}/).collect do |e|
    case e
    when /^[a-zA-Z_]/
      receiver + sep + e
    when /^[0-9]/
    when *Operators
      #receiver + " " + e
    end
  end
end