Class: PatchGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- PatchGenerator
- Defined in:
- lib/generators/patch_me_in/patch_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_patch_file ⇒ Object
4 5 6 |
# File 'lib/generators/patch_me_in/patch_generator.rb', line 4 def create_patch_file template "patch.tt", "app/patches/#{file_name}_patch.rb" end |