Class: Binpkgbot::Tasks::Install
- Includes:
- Concern::Emerge
- Defined in:
- lib/binpkgbot/tasks/install.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from Concern::Emerge
Methods inherited from Base
Constructor Details
This class inherits a constructor from Binpkgbot::Tasks::Base
Instance Method Details
#run ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/binpkgbot/tasks/install.rb', line 9 def run name = [:name] || [:atom] unless name raise ArgumentError, "install task is missing :name and :atom -- what to install?" end emerge(name) end |