Module: Generator::Config

Defined in:
lib/generator/config.rb

Constant Summary collapse

BASE_PATH =
File.expand_path("../..", __dir__)

Class Method Summary collapse

Class Method Details

.template_path(template_name) ⇒ Object



8
9
10
# File 'lib/generator/config.rb', line 8

def template_path(template_name)
  File.join(BASE_PATH, "templates/#{template_name}.rb.erb")
end