Module: Bashy_Dir::Base
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
10 11 12 |
# File 'lib/Bashy/Bashy_Dir.rb', line 10 def create run %@ #{sudo} mkdir -p #{path} @ end |
#delete ⇒ Object
14 15 16 |
# File 'lib/Bashy/Bashy_Dir.rb', line 14 def delete run %@ #{sudo} rm -r #{path} @ end |