Class: LoomExt::CoreMods::Package::DpkgAdapter
- Inherits:
-
PkgAdapter
- Object
- PkgAdapter
- LoomExt::CoreMods::Package::DpkgAdapter
- 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
49 50 51 |
# File 'lib/loomext/coremods/package/adapter.rb', line 49 def installed?(pkg_name) loom.test "dpkg -s #{pkg_name}" end |