Class: MuckRaker::Configuration
- Inherits:
-
Object
- Object
- MuckRaker::Configuration
- Defined in:
- lib/muck-raker/config.rb
Instance Attribute Summary collapse
-
#rails_env ⇒ Object
Returns the value of attribute rails_env.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 |
# File 'lib/muck-raker/config.rb', line 17 def initialize self.rails_env = 'development' # Let's you override the default Rails environment to load a different version of solr end |
Instance Attribute Details
#rails_env ⇒ Object
Returns the value of attribute rails_env.
15 16 17 |
# File 'lib/muck-raker/config.rb', line 15 def rails_env @rails_env end |