Fix for Constant = Class.new; Constant.name spec
Reported by Nitay | December 5th, 2007 @ 05:55 PM | in 1.0 preview
The attached patch fixes Class name variable setting, e.g. (from spec):
it "creates a class that can be given a name by assigning it to a constant" do
MyClass = Class.new
MyClass.name.should == "MyClass"
end
Comments and changes to this ticket
-
Kevin Clark December 6th, 2007 @ 02:08 AM
- → State changed from new to resolved
Fixed in 519d1226027
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
