Class: PKGUtil::PKG
- Inherits:
-
Object
- Object
- PKGUtil::PKG
- Defined in:
- lib/iesd/utility/pkgutil.rb
Overview
:nodoc:
Direct Known Subclasses
IESD::Packages::BaseSystemBinaries, IESD::Packages::OSInstall, IESD::Packages::OSInstallM, IESD::Packages::OSUpgrade
Instance Attribute Summary collapse
-
#url ⇒ Object
The String path to the PKG.
Instance Method Summary collapse
-
#edit ⇒ Object
Open a read-write shell in the PKG.
-
#initialize(url) ⇒ PKG
constructor
Initialize a new PKG.
-
#show(&block) ⇒ Object
Perform read-only actions on the PKG.
-
#update(&block) ⇒ Object
Perform read-write actions on the PKG.
Constructor Details
#initialize(url) ⇒ PKG
Initialize a new PKG.
url - The String path to the PKG.
87 88 89 |
# File 'lib/iesd/utility/pkgutil.rb', line 87 def initialize url @url = File.absolute_path url end |
Instance Attribute Details
#url ⇒ Object
The String path to the PKG.
82 83 84 |
# File 'lib/iesd/utility/pkgutil.rb', line 82 def url @url end |
Instance Method Details
#edit ⇒ Object
Open a read-write shell in the PKG.
97 98 99 |
# File 'lib/iesd/utility/pkgutil.rb', line 97 def edit update end |