lib/sprinkle/script.rb in sprinkle-0.7.4 vs lib/sprinkle/script.rb in sprinkle-0.7.5
- old
+ new
@@ -3,10 +3,14 @@
#
# Script gives you a way to programatically run a given
# sprinkle script.
class Script
include Sprinkle::Deployment
-
+
+ def initialize
+ @deployment = nil
+ end
+
# Run a given sprinkle script. This method is <b>blocking</b> so
# it will not return until the sprinkling is complete or fails.
#--
# FIXME: Improve documentation, possibly notify user how to tell
# if a sprinkling failed.