ruby snippets and styles