Method: Ez::Settings::Interface::Group#initialize

Defined in:
lib/ez/settings/interface/group.rb

#initialize(name, interface, options = {}, &block) ⇒ Group

Returns a new instance of Group.



13
14
15
16
17
18
19
20
# File 'lib/ez/settings/interface/group.rb', line 13

def initialize(name, interface, options = {}, &block)
  @name      = name
  @interface = interface
  @options   = options
  @keys      = []

  instance_eval(&block)
end