lib/neo4jr/configuration.rb in neo4jr-simple-0.1.3 vs lib/neo4jr/configuration.rb in neo4jr-simple-0.1.5
- old
+ new
@@ -1,9 +1,9 @@
module Neo4jr
class Configuration
class << self
def database_path
- @database_path ||= Dir.mktmpdir #Dir.tmpdir + '/tmp-neo4j-db'
+ @database_path ||= (System.getProperty('neo4jr.database') || Dir.mktmpdir)
end
def database_path=(value)
@database_path = value
end
\ No newline at end of file