snippets for eruby and ruby