- nodoc
#create_model_file
ruby
- def create_model_file
template 'model.erb', File.join('app/models', "#{singular_name}.rb")
end
.source_root
ruby
- def self.source_root
- @_neo4j_source_root ||= File.expand_path(File.join(File.dirname(__FILE__),
'neo4j', generator_name, 'templates'))
end