lib/sprinkle/deployment.rb in lachlan-sprinkle-0.0.14 vs lib/sprinkle/deployment.rb in lachlan-sprinkle-0.0.15

- old
+ new

@@ -50,10 +50,10 @@ # actors jobs are the same: to run remote commands on a server, you # may have a personal preference. The block you pass is used to configure # the actor. For more information on what configuration options are # available, view the corresponding Sprinkle::Actors page. def delivery(type, &block) #:doc: - @style = Actors.const_get(type.to_s.titleize).new &block + @style = ("Sprinkle::Actors::" + type.to_s.titleize).constantize.new &block end def method_missing(sym, *args, &block) #:nodoc: @defaults[sym] = block end