Module: Bashy_Apt::Base
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
10 11 12 |
# File 'lib/Bashy/Bashy_Apt.rb', line 10 def install run %@ #{sudo} apt-get -y install #{((depends || []) + [name]).join(' ')} @ end |
#remove ⇒ Object
14 15 16 |
# File 'lib/Bashy/Bashy_Apt.rb', line 14 def remove run %@ #{sudo} apt-get -y purge #{name} @ end |