Method: Shell::Initializer#command_exist?

Defined in:
lib/crane/shell_initializer.rb

#command_exist?(command = false) ⇒ Boolean

Returns:

  • (Boolean)


34
35
36
# File 'lib/crane/shell_initializer.rb', line 34

def command_exist? command = false
  File.exists? get_command_file(command)
end