Class: Railwind::ProgressGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Railwind::ProgressGenerator
- Defined in:
- lib/railwind/generators/progress_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_component_file ⇒ Object
7 8 9 10 |
# File 'lib/railwind/generators/progress_generator.rb', line 7 def create_component_file copy_file "progress/progress_component.rb", "app/components/progress_component.rb" copy_file "progress/_progress_component.html.erb", "app/components/progress_component.html.erb" end |