Class: Charming::Generators::ComponentGenerator
- Inherits:
-
AppFileGenerator
- Object
- Base
- AppFileGenerator
- Charming::Generators::ComponentGenerator
- Defined in:
- lib/charming/generators/component_generator.rb
Instance Method Summary collapse
Methods inherited from AppFileGenerator
Methods inherited from Base
Constructor Details
This class inherits a constructor from Charming::Generators::AppFileGenerator
Instance Method Details
#generate ⇒ Object
6 7 8 |
# File 'lib/charming/generators/component_generator.rb', line 6 def generate create_file(app_path("app", "components"), component) end |