Class: ModSpox::Models::Config
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- ModSpox::Models::Config
- Defined in:
- lib/mod_spox/models/Config.rb
Overview
Attributes provided by model:
- name
-
name of the config item
- value
-
value of the config item
It is important to note this model is for storing configuration values only. It will only store strings, not complex objects. If you need to store an object, use the Setting model. TODO: find and remove any [] usage
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#name=(config_name) ⇒ Object
13 14 15 16 |
# File 'lib/mod_spox/models/Config.rb', line 13 def name=(config_name) config_name.downcase! super(config_name) end |