Module: SettingsManager::Extension::ClassMethods
- Defined in:
- lib/settings-manager/extension.rb
Instance Method Summary collapse
Instance Method Details
#settings_base_class(class_name = nil) ⇒ Object
32 33 34 35 36 37 38 |
# File 'lib/settings-manager/extension.rb', line 32 def settings_base_class(class_name = nil) if class_name.present? @settings_base_class = class_name.to_s else @settings_base_class || "Setting" end end |