Module: RSolr::Ext

Defined in:
lib/rsolr-ext.rb

Constant Summary collapse

VERSION =
self.version

Class Method Summary collapse

Class Method Details

.connect(*args, &blk) ⇒ Object



35
36
37
# File 'lib/rsolr-ext.rb', line 35

def self.connect *args, &blk
  RSolr.connect *args, &blk
end

.versionObject



24
25
26
# File 'lib/rsolr-ext.rb', line 24

def self.version
  @version ||= File.read(File.join(File.dirname(__FILE__), '..', 'VERSION'))
end