Sha256: f1e968c50a57e729880ae29866f8675d8d16164ed33cd4dd388689aea14df8f3

Contents?: true

Size: 562 Bytes

Versions: 3

Compression:

Stored size: 562 Bytes

Contents

require "neo4j-enterprise/version"

module Neo4j
  module Enterprise
    def self.jars_root
      File.join("#{File.dirname(__FILE__)}", "neo4j-enterprise", "jars")
    end

    def self.test_jars_root
      File.join("#{File.dirname(__FILE__)}", "neo4j-enterprise", "test-jars")
    end

    def self.load_jars!
      require 'java'
      Dir["#{jars_root}/*.jar"].each {|jar| require jar }
    end

    def self.load_test_jars!
      require 'java'
      Dir["#{test_jars_root}/*.jar"].each {|jar| require jar }
    end
  end
end

Neo4j::Enterprise.load_jars!

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
neo4j-enterprise-2.2.4.1-java lib/neo4j-enterprise.rb
neo4j-enterprise-2.2.4-java lib/neo4j-enterprise.rb
neo4j-enterprise-2.2.2-java lib/neo4j-enterprise.rb