In Files

Namespace

RSolr

Constants

VERSION

Public Class Methods

connect(*args) click to toggle source
# File lib/rsolr.rb, line 15
def self.connect *args
  driver = Class === args[0] ? args[0] : RSolr::Connection
  opts = Hash === args[-1] ? args[-1] : {}
  Client.new driver.new, opts
end
version() click to toggle source
# File lib/rsolr.rb, line 9
def self.version
  @version ||= File.read(File.join(File.dirname(__FILE__), '..', 'VERSION')).chomp
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.