ruby-completion

Bash completion for Ruby commands and methods

brewmacoslinux
Try with needOr install directly
Source

About

Bash completion for Ruby

Commands

ruby-completion

Examples

Enable Ruby completion in current bash session$ source $(brew --prefix)/etc/bash_completion.d/ruby-completion
View available Ruby method completions by typing and pressing TAB$ ruby -e 'puts "hello".'<TAB>
Get IRB command completions in interactive Ruby shell$ irb<ENTER> then type 'String.'<TAB> to see methods