Method: Mysh::GemInfoCommand#process_command

Defined in:
lib/mysh/show/gem.rb

#process_command(input) ⇒ Object

Execute the @gem shell command.



10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/mysh/show/gem.rb', line 10

def process_command(input)
  print WORKING
  Gem.refresh

  args = input.cooked_body.split(" ")[1..-1]

  if args.empty?
    general
  else
    specific(args)
  end

end