class Guard::Guardfile::Generator

def create_guardfile

Other tags:
    See: Guard::CLI#init -
def create_guardfile
  path = Pathname.new("Guardfile").expand_path
  if path.exist?
    _ui(:error, "Guardfile already exists at #{path}")
    abort
  end
  _ui(:info, "Writing new Guardfile to #{path}")
  FileUtils.cp(GUARDFILE_TEMPLATE, path.to_s)
end