#423: #respond_to? returns true, actual method call raises NoMethodError
---------------------------------+------------------------------------------
Reporter: e...@… | Owner: martinlagarde...@…
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
Comment(by martinlagarde...@…):
I forgot to add (I whish I could edit my posts), this:
{{{
#!ruby
q = NSMetadataQuery.new
p q.respond_to? "setPredicate:" # => true
p q.respond_to? "setPredicate" # => true
}}}
Should, as you reported, return false for the second call, instead of
true.
--
Ticket URL: <http://www.macruby.org/trac/ticket/423#comment:3>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel