Sha256: e089c7fd50c1014921056a46396b4123d522cc59f2af9b69da4cccd0501e9cbf

Contents?: true

Size: 266 Bytes

Versions: 2

Compression:

Stored size: 266 Bytes

Contents

module Neo4jr
  class Configuration
    class << self
      def database_path
        @database_path ||= (System.getProperty('neo4jr.database') || Dir.mktmpdir)
      end
    
      def database_path=(value)
        @database_path = value
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
neo4jr-simple-0.1.6 lib/neo4jr/configuration.rb
neo4jr-simple-0.1.5 lib/neo4jr/configuration.rb