1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* pp.rb (ARGF.pretty_print): implemented.

(PP.pp): arguments reordered.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2002-09-11 12:29:17 +00:00
parent bfb1775244
commit c47f24027a
5 changed files with 36 additions and 17 deletions

View file

@ -421,7 +421,7 @@ class Set
pp.text "}>"
end
def pretty_print_cycled(pp)
def pretty_print_cycle(pp)
pp.text sprintf('#<%s: {%s}>', type.name, empty? ? '' : '...')
end
end
@ -820,7 +820,7 @@ class TC_Set < Test::Unit::TestCase
# def test_pretty_print
# end
# def test_pretty_print_cycled
# def test_pretty_print_cycle
# end
end