Module: Irgat::Dependencies
- Included in:
- Irgat
- Defined in:
- lib/irgat/dependencies.rb
Instance Method Summary collapse
Instance Method Details
#check_dependencies(dependencies = {}) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/irgat/dependencies.rb', line 4 def check_dependencies(dependencies = {}) # check mounted folder @mounted_folder = check_mounted_folder(dependencies[:check_mounted_folder]) if dependencies[:check_mounted_folder] # check egid check_egid(dependencies[:check_egid]) if dependencies[:check_egid] # check programs @programs = check_programs(dependencies[:check_programs]) if dependencies[:check_programs] # check folders @folders = check_folders(dependencies[:check_folders]) if dependencies[:check_folders] end |