lib/sprinkle/installers/install_package.rb in sprinkle-0.7.1.1 vs lib/sprinkle/installers/install_package.rb in sprinkle-0.7.2
- old
+ new
@@ -1,8 +1,8 @@
module Sprinkle
module Installers
- class InstallPackage < Installer
+ class InstallPackage < Installer #:nodoc:
cattr_accessor :installer
attr_accessor :packages #:nodoc:
def initialize(parent, packages, &block) #:nodoc:
super parent, &block
@@ -60,21 +60,21 @@
end
module Sprinkle
module Package
class Package
- def install_package(*names, &block)
+ def install_package(*names, &block) #:nodoc:
ActiveSupport::Deprecation.warn("install_package will be removed from sprinkle 0.8, please use yum or smart installers instead.")
@installers << Sprinkle::Installers::InstallPackage.new(self, names, &block)
end
- def uninstall_package(*names, &block)
+ def uninstall_package(*names, &block) #:nodoc:
ActiveSupport::Deprecation.warn("uninstall_package will be removed from sprinkle 0.8, please use yum or smart installers instead.")
@installers << Sprinkle::Installers::UninstallPackage.new(self, names, &block)
end
- alias_method :install_packages, :install_package
- alias_method :uninstall_packages, :uninstall_package
+ alias_method :install_packages, :install_package #:nodoc:
+ alias_method :uninstall_packages, :uninstall_package #:nodoc:
end
end
end