Module: ConfigManager::Settings::Persistence

Included in:
ConfigManager::Setting
Defined in:
lib/config_manager/settings/persistence.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
# File 'lib/config_manager/settings/persistence.rb', line 4

def self.included(base)
	base.extend ClassMethods
end

Instance Method Details

#persistObject



8
9
10
# File 'lib/config_manager/settings/persistence.rb', line 8

def persist
	Setting.persist(@id, @value, *@tags)
end