Class: Noa::Developer::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/noa/developer/install_generator.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



4
5
6
# File 'lib/generators/noa/developer/install_generator.rb', line 4

def self.source_root
  @source_root ||= File.join(__dir__, "templates")
end

Instance Method Details

#install_rspecObject



8
9
10
# File 'lib/generators/noa/developer/install_generator.rb', line 8

def install_rspec
  directory "spec"
end