Add ruby spec to code examples