Method: Docsplit::CommandLine#initialize

Defined in:
lib/docsplit/command_line.rb

#initializeCommandLine

Creating a CommandLine runs off of the contents of ARGV.



33
34
35
36
37
38
# File 'lib/docsplit/command_line.rb', line 33

def initialize
  parse_options
  cmd = ARGV.shift
  @command = cmd && cmd.to_sym
  run
end