Method: Set#pretty_print

Defined in:
lib/set.rb

#pretty_print(pp) ⇒ Object

:nodoc:



831
832
833
834
835
836
837
838
839
840
# File 'lib/set.rb', line 831

def pretty_print(pp)  # :nodoc:
  pp.group(1, sprintf('#<%s:', self.class.name), '>') {
    pp.breakable
    pp.group(1, '{', '}') {
      pp.seplist(self) { |o|
        pp.pp o
      }
    }
  }
end