Ruby code completion uses the standard Vim code completion mechanism like so:
class Test def getName() end def getValue() end end test = Test.new test.get<C-X><C-U> test.getName()