Class: CreateProj::Creator::RailsCreator
- Inherits:
-
RubyCreator
- Object
- CreateProj::Creator
- RubyCreator
- CreateProj::Creator::RailsCreator
- Defined in:
- lib/createproj/creator/rails.rb
Overview
Class for creating Rails project
Instance Method Summary collapse
-
#initialize ⇒ RailsCreator
constructor
A new instance of RailsCreator.
- #run ⇒ Object
Methods inherited from RubyCreator
#install_dependencies, #install_sandbox
Constructor Details
#initialize ⇒ RailsCreator
Returns a new instance of RailsCreator.
5 6 7 8 9 |
# File 'lib/createproj/creator/rails.rb', line 5 def initialize super @precommit_template = 'lint-pre-commit' @precommit_options = { linter: 'rubocop', file_ext: '.rb' } end |
Instance Method Details
#run ⇒ Object
TODO:
-
write for rails
12 13 14 |
# File 'lib/createproj/creator/rails.rb', line 12 def run puts 'Coming soon!' end |