lib/sprinkle/installers/installer.rb in sprinkle-0.7.1 vs lib/sprinkle/installers/installer.rb in sprinkle-0.7.1.1
- old
+ new
@@ -51,9 +51,11 @@
# or post :install. If this is the case, it will be documented on
# the installation method's corresponding documentation page.
class Installer
include Sprinkle::Attributes
+ delegate :version, :to => :package
+
attr_accessor :delivery, :package, :options, :pre, :post #:nodoc:
def initialize(package, options = {}, &block) #:nodoc:
@package = package
@options = options || {}