Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with rubinius #1

Open
wr0ngway opened this issue Sep 3, 2013 · 0 comments · May be fixed by #2
Open

Doesn't work with rubinius #1

wr0ngway opened this issue Sep 3, 2013 · 0 comments · May be fixed by #2

Comments

@wr0ngway
Copy link

wr0ngway commented Sep 3, 2013

Not sure if its a problem with this gem, or rubinius, but creating a Named::Class results in one with a nil name:

rubinius-2.0.0.n233 :001 > f = Named::Class.new("Foo") { def foo; 3; end; }
 => Named::Class:Object::0x71718 
rubinius-2.0.0.n233 :002 > f.name
 => nil 
rubinius-2.0.0.n233 :003 > f = Named::Class.new("Foo", Array) { def foo; 3; end; }
 => Named::Class:Array::0x71848 
rubinius-2.0.0.n233 :004 > f.name
 => nil 
rubinius-2.0.0.n233 :005 > f.name = "Foo"
 => "Foo" 
rubinius-2.0.0.n233 :006 > f.name
 => nil 
@wr0ngway wr0ngway linked a pull request Sep 3, 2013 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant