Method: Notifun::InstallGenerator#copy_json_file

Defined in:
lib/generators/notifun/install_generator.rb

#copy_json_fileObject



29
30
31
32
33
34
35
# File 'lib/generators/notifun/install_generator.rb', line 29

def copy_json_file
  if File.exists?("config/notifun_templates.json")
    puts "Skipping config/notifun_templates.json"
  else
    copy_file "notifun_templates.json", "config/notifun_templates.json"
  end
end