SimpleDelegator.class changed?

1 view
Skip to first unread message

Sam Ruby

unread,
Jan 20, 2008, 9:49:10 AM1/20/08
to ruby...@ruby-lang.org
Should the following program produces different results with Ruby 1.8.6
and Ruby 1.9.0:

require 'delegate'
class C < SimpleDelegator; end
p C.new('').class

Results 1.8.6: C
Rusults 1.9.0: String

- Sam Ruby

Reply all
Reply to author
Forward
0 new messages