Class: ThinkingSphinx::Frameworks::Rails

Inherits:
Object
  • Object
show all
Defined in:
lib/thinking_sphinx/frameworks/rails.rb

Instance Method Summary collapse

Instance Method Details

#environmentObject



4
5
6
# File 'lib/thinking_sphinx/frameworks/rails.rb', line 4

def environment
  Rails.env
end

#rootObject



8
9
10
# File 'lib/thinking_sphinx/frameworks/rails.rb', line 8

def root
  Rails.root
end