From c47f24027a3473fbdf9510cc300565fb1e6f1db8 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 11 Sep 2002 12:29:17 +0000 Subject: * 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 --- lib/set.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/set.rb') diff --git a/lib/set.rb b/lib/set.rb index edd219b34d..f55d1b7f30 100644 --- a/lib/set.rb +++ b/lib/set.rb @@ -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 -- cgit v1.2.3