Method: Shell::Initializer#run

Defined in:
lib/crane/shell_initializer.rb

#runObject



16
17
18
19
20
21
22
23
24
# File 'lib/crane/shell_initializer.rb', line 16

def run
  if @command
    if command_exist?
      require get_command_file
      return run_command @command
    end
  end
  inexistent_command
end