Method: Uspec::CLI.invoke
- Defined in:
- lib/uspec/cli.rb
.invoke(args) ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/uspec/cli.rb', line 16 def invoke args if (args & %w[-h --help -? /? -v --version]).empty? then run_specs args else usage end end |