Added Ruby-specific function endings (? and !) because they are not selected when using view.word to get the word. It only grabs the additional letter if the current scope is a ruby or rails source.