Class: Pkgman::Target
- Inherits:
-
Object
- Object
- Pkgman::Target
- Defined in:
- lib/pkgman/target.rb
Instance Attribute Summary collapse
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
- #destroy ⇒ Object
- #download(*args, &block) ⇒ Object
- #execute(*args, &block) ⇒ Object
-
#initialize(runtime, target) ⇒ Target
constructor
A new instance of Target.
Constructor Details
Instance Attribute Details
#target ⇒ Object (readonly)
Returns the value of attribute target.
6 7 8 |
# File 'lib/pkgman/target.rb', line 6 def target @target end |
Instance Method Details
#destroy ⇒ Object
24 25 26 |
# File 'lib/pkgman/target.rb', line 24 def destroy @driver.container.destroy end |
#download(*args, &block) ⇒ Object
20 21 22 |
# File 'lib/pkgman/target.rb', line 20 def download(*args, &block) @driver.container.download(*args, &block) end |
#execute(*args, &block) ⇒ Object
16 17 18 |
# File 'lib/pkgman/target.rb', line 16 def execute(*args, &block) @driver.container.execute(*args, &block) end |