Skip to content

Doesn't work with rubinius #1

@wr0ngway

Description

@wr0ngway

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 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions