Sha256: b499fd6d18fedd14bbe75c533b303ce588943f81a914948d88d74897a7ce9f9b

Contents?: true

Size: 325 Bytes

Versions: 5

Compression:

Stored size: 325 Bytes

Contents

require 'solr_wrapper/version'
require 'solr_wrapper/instance'

module SolrWrapper
  def self.default_solr_version
    "5.0.0"
  end

  def self.default_instance options
    @default_instance ||= SolrWrapper::Instance.new options
  end

  def self.wrap options = {}, &block
    default_instance(options).wrap &block
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solr_wrapper-0.0.5 lib/solr_wrapper.rb
solr_wrapper-0.0.4 lib/solr_wrapper.rb
solr_wrapper-0.0.3 lib/solr_wrapper.rb
solr_wrapper-0.0.2 lib/solr_wrapper.rb
solr_wrapper-0.0.1 lib/solr_wrapper.rb