lib/neo4jr/configuration.rb in neo4jr-simple-0.1.6 vs lib/neo4jr/configuration.rb in neo4jr-simple-0.1.7
- old
+ new
@@ -1,9 +1,9 @@
module Neo4jr
class Configuration
class << self
def database_path
- @database_path ||= (System.getProperty('neo4jr.database') || Dir.mktmpdir)
+ @database_path ||= (System.getProperty('neo4jr.database') || ENV['neo4jr_database'] || Dir.mktmpdir)
end
def database_path=(value)
@database_path = value
end
\ No newline at end of file