RubySnippet: fix def snippets.