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.



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

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

Instance Attribute Details

#environmentObject

Returns the value of attribute environment.



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

def environment
  @environment
end

#rootObject

Returns the value of attribute root.



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

def root
  @root
end