Class: Neo4j::Generators::Base

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/rails/generators/neo4j_generator.rb

Overview

:nodoc:

Direct Known Subclasses

ModelGenerator

Class Method Summary collapse

Class Method Details

.source_rootObject



11
12
13
14
# File 'lib/rails/generators/neo4j_generator.rb', line 11

def self.source_root
  @_neo4j_source_root ||= File.expand_path(File.join(File.dirname(__FILE__),
                                                     'neo4j', generator_name, 'templates'))
end