#172 √ resolved
Nitay

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

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 »

People watching this ticket

Tags