Module: Sovren
- Defined in:
- lib/generators/sovren/install/install_generator.rb,
lib/sovren.rb,
lib/sovren/client.rb,
lib/sovren/version.rb,
lib/sovren/configuration.rb
Overview
Creates the Sovren initializer file for Rails apps.
Defined Under Namespace
Classes: Client, Configuration, InstallGenerator
Constant Summary collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
3 4 5 |
# File 'lib/sovren/configuration.rb', line 3 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
6 7 8 9 |
# File 'lib/sovren/configuration.rb', line 6 def self.configure self.configuration ||= Configuration.new yield(configuration) end |