lib/iron/settings/builder.rb
# Create a new sub-group, yield for definition if block passed
Create a new sub-group, yield for definition if block passed
Create a new sub - group yield for definition if block passed
def group(name, &block)
      verify_key?(name)
      group = @group.find_group(name)
      unless group
        verify_available?(name, :group)
        group = @group.add_group(name)
      end
      builder = self.class.new(group)
      builder.define(&block) if block
      builder
    end
def group ( name , & block ) verify_key? ( name ) group = @group . find_group ( name ) unless group verify_available? ( name , :group ) group = @group . add_group ( name ) end builder = self . class . new ( group ) builder . define ( & block ) if block builder end
Create a new sub-group, yield for definition if block passed
Create a new sub - group yield for definition if block passed
# Chain it
name
<not_specific>
block
<not_specific>