made rspec option code generation code a bit more palatable