The following code prints false twice
So it seems that the protocol is not applied correctly.
Is this a bug or do I need some other require/framework statements?
BTW the result is the same if i use "framework 'Cocoa'"

-------- code -------------
framework 'AppKit'

puts NSObject.alloc.init.conformsToProtocol
Protocol.protocolWithName('NSKeyValueBindingCreation')

puts NSTextField.alloc.initWithFrame([1,2,3,4]).conformsToProtocol
Protocol.protocolWithName('NSKeyValueBindingCreation')



_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to