class RenderSync::Generators::InstallGenerator
Public Class Methods
source_root()
click to toggle source
# File lib/generators/render_sync/install_generator.rb, line 4 def self.source_root File.dirname(__FILE__) + "/templates" end
Public Instance Methods
copy_files()
click to toggle source
# File lib/generators/render_sync/install_generator.rb, line 8 def copy_files template "sync.yml", "config/sync.yml" copy_file "sync.ru", "sync.ru" end