Class: RunTemplateGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- RunTemplateGenerator
- Defined in:
- lib/rails/generators/run_template/run_template_generator.rb
Instance Method Summary collapse
Instance Method Details
#apply_template ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/rails/generators/run_template/run_template_generator.rb', line 6 def apply_template path = template_path unless path =~ /^https?:\/\// path = File.(path, Dir.pwd) end apply path end |