Class: RCelery::Configuration
- Inherits:
-
ConfigToolkit::BaseConfig
- Object
- ConfigToolkit::BaseConfig
- RCelery::Configuration
- Defined in:
- lib/rcelery/configuration.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Configuration
constructor
A new instance of Configuration.
- #to_hash ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Configuration
Returns a new instance of Configuration.
16 17 18 |
# File 'lib/rcelery/configuration.rb', line 16 def initialize( = {}) load(ConfigToolkit::HashReader.new()) end |
Instance Method Details
#to_hash ⇒ Object
20 21 22 |
# File 'lib/rcelery/configuration.rb', line 20 def to_hash dump(ConfigToolkit::HashWriter.new) end |