Method: Cor::Executor.analyze_argument

Defined in:
lib/cor.rb

.analyze_argument(args) ⇒ Object



28
29
30
31
32
33
34
35
36
37
# File 'lib/cor.rb', line 28

def self.analyze_argument(args)
  command = args.shift.to_s

  result = {
      :command => command.gsub(':', '_').to_sym,
      :args => args
  }

  result
end