Class: Prefered::PreferenceGroup
- Inherits:
-
Object
- Object
- Prefered::PreferenceGroup
- Includes:
- PreferenceEngine
- Defined in:
- lib/prefered/preference.rb
Instance Method Summary collapse
-
#initialize(name, settings) ⇒ PreferenceGroup
constructor
A new instance of PreferenceGroup.
Methods included from PreferenceEngine
#deserialize_preferences, #serialize_preferences
Constructor Details
#initialize(name, settings) ⇒ PreferenceGroup
Returns a new instance of PreferenceGroup.
79 80 81 82 83 |
# File 'lib/prefered/preference.rb', line 79 def initialize(name, settings) @name = name @settings = settings init_methods(settings) end |