Class: ThinkingSphinx::Frameworks::Plain
- Inherits:
-
Object
- Object
- ThinkingSphinx::Frameworks::Plain
- Defined in:
- lib/thinking_sphinx/frameworks/plain.rb
Instance Attribute Summary collapse
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#root ⇒ Object
Returns the value of attribute root.
Instance Method Summary collapse
-
#initialize ⇒ Plain
constructor
A new instance of Plain.
Constructor Details
#initialize ⇒ Plain
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
#environment ⇒ Object
Returns the value of attribute environment.
4 5 6 |
# File 'lib/thinking_sphinx/frameworks/plain.rb', line 4 def environment @environment end |
#root ⇒ Object
Returns the value of attribute root.
4 5 6 |
# File 'lib/thinking_sphinx/frameworks/plain.rb', line 4 def root @root end |