Class: Neo4jr::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/neo4jr/configuration.rb

Class Method Summary collapse

Class Method Details

.database_pathObject



4
5
6
# File 'lib/neo4jr/configuration.rb', line 4

def database_path
  @database_path ||= (System.getProperty('neo4jr.database') || ENV['neo4jr_database'] || Dir.mktmpdir)
end

.database_path=(value) ⇒ Object



8
9
10
# File 'lib/neo4jr/configuration.rb', line 8

def database_path=(value)
  @database_path = value
end