Class: ReaperMan::PackageList::Processor
- Inherits:
-
Object
- Object
- ReaperMan::PackageList::Processor
- Includes:
- Utils::Checksum, Utils::Process
- Defined in:
- lib/reaper-man/package_list.rb,
lib/reaper-man/package_list/deb.rb,
lib/reaper-man/package_list/gem.rb,
lib/reaper-man/package_list/rpm.rb
Overview
Package list modification processor
Defined Under Namespace
Instance Method Summary collapse
-
#add(conf, package) ⇒ Object
Add a package to the list.
-
#remove(conf, package_name, version = nil) ⇒ Object
Remove package from the list.
Methods included from Utils::Checksum
Methods included from Utils::Process
#child_process_command, #mixlib_shellout_command, #shellout
Instance Method Details
#add(conf, package) ⇒ Object
Add a package to the list
20 21 22 |
# File 'lib/reaper-man/package_list.rb', line 20 def add(conf, package) raise NoMethodError.new 'Not implemented' end |
#remove(conf, package_name, version = nil) ⇒ Object
Remove package from the list
29 30 31 |
# File 'lib/reaper-man/package_list.rb', line 29 def remove(conf, package_name, version=nil) raise NoMethodError.new 'Not implemented' end |