Class: File

Inherits:
Object
  • Object
show all
Defined in:
lib/fwtoolkit/cli/bootstrap.rb

Instance Method Summary collapse

Instance Method Details

#available_in_path?(prog_name) ⇒ Boolean

Returns:

  • (Boolean)


59
60
61
# File 'lib/fwtoolkit/cli/bootstrap.rb', line 59

def available_in_path?(prog_name)
  which(prog_name)!=nil
end