lib/inochi/engine.rb
def create path, body, merger = ENV['merger']
      generate path, body do |*files|
        system "#{merger} #{Shellwords.join files}" if merger
      end
    end
##
# 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.
#
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.
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']
      generate path, body do |*files|
        system "#{merger} #{Shellwords.join files}" if merger
      end
    end
def create path , body , merger = ENV [ 'merger' ] generate path , body do | * files | system "#{merger} #{Shellwords.join files}" if merger end end
Writes the given contents to the file at the given
path.
Writes the given contents to the file at the given path .
path
body
merger