summaryrefslogtreecommitdiff
path: root/lib/set.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-11 12:29:17 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-11 12:29:17 +0000
commitc47f24027a3473fbdf9510cc300565fb1e6f1db8 (patch)
tree8c9773ba66d0c783ebe8b867db5c410fba9a4b17 /lib/set.rb
parentbfb17752441e7d0106dff08c74a6fcd01131a6f8 (diff)
* 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
Diffstat (limited to 'lib/set.rb')
-rw-r--r--lib/set.rb4
1 files changed, 2 insertions, 2 deletions
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