Class: ThinkingSphinxMonit::TemplateGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/thinking_sphinx_monit/template_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_templateObject



11
12
13
# File 'lib/generators/thinking_sphinx_monit/template_generator.rb', line 11

def copy_template
  copy_file 'ts_monit.conf.erb', "#{templates_path}/ts_monit.erb"
end