method
group_sub
v1_9_1_378 -
Show latest stable
- Class:
PrettyPrint
group_sub()public
No documentation available.
# 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