Class: Charming::Generators::AppFileGenerator
- Defined in:
- lib/charming/generators/app_file_generator.rb
Direct Known Subclasses
ComponentGenerator, ControllerGenerator, ScreenGenerator, ViewGenerator
Instance Method Summary collapse
-
#initialize(name, _args, out:, destination:, force: false) ⇒ AppFileGenerator
constructor
A new instance of AppFileGenerator.
Constructor Details
#initialize(name, _args, out:, destination:, force: false) ⇒ AppFileGenerator
Returns a new instance of AppFileGenerator.
6 7 8 9 10 |
# File 'lib/charming/generators/app_file_generator.rb', line 6 def initialize(name, _args, out:, destination:, force: false) super(out: out, destination: destination, force: force) @name = Name.new(name) @app_name = Name.new(app_name_from_gemspec) end |