Module: RSpec::Risky::RSpecCli::ParserPatch
- Defined in:
- lib/rspec/risky/rspec_cli.rb
Instance Method Summary collapse
Instance Method Details
#parser(options) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/rspec/risky/rspec_cli.rb', line 9 def parser() super.tap do |parser| parser.on("--risky-exit-code CODE", Integer, "Override the exit code used when risky examples pass.") do |code| [:risky_exit_code] = code end end end |