add examples to ruby.md

first pass at adding some example code to some rules and guides