Method: OptionalOptions#check_opt
- Defined in:
- lib/gitarro/opt_parser.rb
#check_opt(opt) ⇒ Object
35 36 37 38 |
# File 'lib/gitarro/opt_parser.rb', line 35 def check_opt(opt) desc = 'Check if there is any PR requiring a test, but do not run it.' opt.on('-C', '--check', desc) { |check| [:check] = check } end |