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

fix sharing_detection.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2003-01-20 19:54:56 +00:00
parent d0ea0b4a8d
commit c2dbfe53fc

View file

@ -414,6 +414,14 @@ class Object
include PP::ObjectMixin
end
[Numeric, Symbol, FalseClass, TrueClass, NilClass, Module].each {|c|
c.class_eval {
def pretty_print_cycle(pp)
pp.text inspect
end
}
}
if __FILE__ == $0
require 'runit/testcase'
require 'runit/cui/testrunner'