Class: CreateProj::Creator::RailsCreator

Inherits:
RubyCreator show all
Defined in:
lib/createproj/creator/rails.rb

Overview

Class for creating Rails project

Instance Method Summary collapse

Methods inherited from RubyCreator

#install_dependencies, #install_sandbox

Constructor Details

#initializeRailsCreator

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

#runObject

TODO:
  • write for rails



12
13
14
# File 'lib/createproj/creator/rails.rb', line 12

def run
  puts 'Coming soon!'
end