Method: Cuby#run
- Defined in:
- lib/cuby.rb
#run ⇒ Object
Parse options, check arguments, then process the command
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/cuby.rb', line 32 def run if && arguments_valid? puts "Start at #{DateTime.now}\n\n" if .verbose process_arguments process_command puts "\nFinished at #{DateTime.now}" if .verbose else output_usage end end |