Class: ThinkingSphinxMonit::TemplateGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ThinkingSphinxMonit::TemplateGenerator
- Defined in:
- lib/generators/thinking_sphinx_monit/template_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_template ⇒ Object
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 |