Add snippet type to support different type of ruby snippets (with/without parentheses or %r style).