Module: Comodule::ConfigSupport::ClassMethods
- Defined in:
- lib/comodule/config_support.rb
Instance Method Summary collapse
- #create_config(config_hash = {}) ⇒ Object
- #create_config_hard(config_hash = {}) ⇒ Object
- #create_config_soft(config_hash = {}) ⇒ Object
Instance Method Details
#create_config(config_hash = {}) ⇒ Object
130 131 132 |
# File 'lib/comodule/config_support.rb', line 130 def create_config(config_hash={}) Comodule::ConfigSupport::Config.new config_hash end |
#create_config_hard(config_hash = {}) ⇒ Object
134 135 136 137 |
# File 'lib/comodule/config_support.rb', line 134 def create_config_hard(config_hash={}) config_hash[:configure_type] = :hard create_config config_hash end |
#create_config_soft(config_hash = {}) ⇒ Object
139 140 141 142 |
# File 'lib/comodule/config_support.rb', line 139 def create_config_soft(config_hash={}) config_hash[:configure_type] = :soft create_config config_hash end |