Class: Prefered::PreferenceGroup

Inherits:
Object
  • Object
show all
Includes:
PreferenceEngine
Defined in:
lib/prefered/preference.rb

Instance Method Summary collapse

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