Method: RSolr.connect
- Defined in:
- lib/rsolr.rb
.connect(*args) ⇒ Object
13 14 15 16 17 |
# File 'lib/rsolr.rb', line 13 def self.connect *args driver = Class === args[0] ? args[0] : RSolr::Connection opts = Hash === args[-1] ? args[-1] : {} Client.new driver.new, opts end |