lib/inochi/engine.rb in inochi-3.0.0 vs lib/inochi/engine.rb in inochi-4.0.0
- old
+ new
@@ -56,10 +56,10 @@
##
# Writes the given contents to the file at the given
# path. If the given path already exists, then a
# backup is created before invoking the merging tool.
#
- def create path, body, merger = ENV[:merger]
+ def create path, body, merger = ENV['merger']
generate path, body do |*files|
system "#{merger} #{Shellwords.join files}" if merger
end
end