Class: ThinkingSphinx::Frameworks::Plain

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePlain

Returns a new instance of Plain



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

def initialize
  @environment = 'production'
  @root        = Dir.pwd
end

Instance Attribute Details

#environmentObject

Returns the value of attribute environment



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

def environment
  @environment
end

#rootObject

Returns the value of attribute root



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

def root
  @root
end