Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/prettyprint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,11 @@ def group(indent=nil, open_obj='', close_obj='', open_width=nil, close_width=nil
@first.pop
end

# Yields to the block, for compatibility
def group_sub
yield
end

# Method present for compatibility, but is a noop
def flush # :nodoc:
end
Expand Down