Class: LoomExt::CoreMods::Package::RpmAdapter
- Inherits:
-
PkgAdapter
- Object
- PkgAdapter
- LoomExt::CoreMods::Package::RpmAdapter
- Defined in:
- lib/loomext/coremods/package/adapter.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from PkgAdapter
Instance Method Summary collapse
Methods inherited from PkgAdapter
#ensure_installed, #initialize, #install, #uninstall, #update_cache, #upgrade
Constructor Details
This class inherits a constructor from LoomExt::CoreMods::Package::PkgAdapter
Instance Method Details
#installed?(pkg_name) ⇒ Boolean
79 80 81 |
# File 'lib/loomext/coremods/package/adapter.rb', line 79 def installed?(pkg_name) loom.test :rpm, "-q #{pkg_name}" end |