Module: ConfigManager
Defined Under Namespace
Modules: ClassMethods Classes: Item
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 |
# File 'app/models/config_manager.rb', line 4 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#canonicalize(key, value) ⇒ Object
64 65 66 |
# File 'app/models/config_manager.rb', line 64 def canonicalize(key, value) self.class.fields[key.to_s].canonicalize(value) end |