Module: RSolr::Patron::Connectable
- Defined in:
- lib/rsolr-patron.rb
Instance Method Summary collapse
Instance Method Details
#connect(*args) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/rsolr-patron.rb', line 8 def connect *args if args.first == :patron args.shift RSolr::Client.new(RSolr::Patron::Connection.new(*args)) else super end end |