Sample .irbrc (with autocomplete)
Feb 02
2008
2008
Comments Off
cp .irbrc $HOME; irb
require "irb/completion" IRB.conf[:PROMPT_MODE] = :SIMPLE def ri(*arg) system("ri #{arg.join" "}") end class Object def __find_method(reg=Regexp.new) self.methods.sort.grep reg end alias :fm :__find_method end