Class: Generators::Avo::BaseGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Generators::Avo::BaseGenerator
- Defined in:
- lib/generators/avo/base_generator.rb
Direct Known Subclasses
AllResourcesGenerator, EjectGenerator, InstallGenerator, Js::InstallGenerator, LocalesGenerator, Tailwindcss::InstallGenerator, ToolGenerator
Instance Method Summary collapse
-
#initialize(*args) ⇒ BaseGenerator
constructor
A new instance of BaseGenerator.
Constructor Details
#initialize(*args) ⇒ BaseGenerator
Returns a new instance of BaseGenerator.
8 9 10 11 12 13 14 15 |
# File 'lib/generators/avo/base_generator.rb', line 8 def initialize(*args) super(*args) # Don't output the version if requested so unless args.include?(["--skip-avo-version"]) invoke "avo:version", *args end end |