update snippets for ruby-mode
change return action for ruby-mode