Module: RSolr

Extended by:
Char
Defined in:
lib/rsolr.rb,
lib/rsolr/version.rb

Defined Under Namespace

Modules: Char, Error, Response, Uri, Xml Classes: Client, Connection

Constant Summary collapse

VERSION =
"1.0.10"

Class Method Summary collapse

Methods included from Char

escape

Class Method Details

.connect(*args) ⇒ Object



10
11
12
13
14
# File 'lib/rsolr.rb', line 10

def self.connect *args
  driver = Class === args[0] ? args[0] : RSolr::Connection
  opts = Hash === args[-1] ? args[-1] : {}
  Client.new driver.new, opts
end

.versionObject



4
5
6
# File 'lib/rsolr/version.rb', line 4

def self.version
  VERSION
end