Class: ThinkingSphinx::Frameworks::Rails

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) environment



2
3
4
# File 'lib/thinking_sphinx/frameworks/rails.rb', line 2

def environment
  Rails.env
end

- (Object) root



6
7
8
# File 'lib/thinking_sphinx/frameworks/rails.rb', line 6

def root
  Rails.root
end