Module: Somatics::Generators::TemplatePath

Instance Method Summary collapse

Instance Method Details

#source_rootObject



6
7
8
# File 'lib/generators/somatics.rb', line 6

def source_root
  @_somaitcs_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'somatics', generator_name, 'templates'))
end