Finding methods in classes and objects using regexp
If you are lucky enough to have Pry gem installed you can use
pry(main)> ls 'string' -G cas
ls
is a built-in functionality in Pry, -G
means that you want to search using a regular expression
If you want to achieve simillar resault in IRB you may try this
irb(main):001:0> 'string'.methods.grep /cas/