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