lib/shaddox/shadow_script.rb in shaddox-0.0.21 vs lib/shaddox/shadow_script.rb in shaddox-0.0.22
- old
+ new
@@ -9,11 +9,11 @@
@config = config
@cast_tasks = []
# Generate script
params = []
- params += ":installer => :#{@installer}" if @installer
- params += ":debug => #{@debug}" if @debug
+ params.push(":installer => :#{@installer}") if @installer
+ params.push(":debug => #{@debug}") if @debug
@script = %Q{
require 'shaddox'
Shaddox::Shadow.new({#{params.join(',')}}) do
## begin generated shadow ##