Class: Neo4jr::Configuration
- Inherits:
-
Object
- Object
- Neo4jr::Configuration
- Defined in:
- lib/neo4jr/configuration.rb
Class Method Summary collapse
Class Method Details
.database_path ⇒ Object
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 |