group_sub() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/prettyprint.rb, line 207
  def group_sub
    group = Group.new(@group_stack.last.depth + 1)
    @group_stack.push group
    @group_queue.enq group
    begin
      yield
    ensure
      @group_stack.pop
      if group.breakables.empty?
        @group_queue.delete group
      end
    end
  end
Register or log in to add new notes.