[MacRuby-devel] [MacRuby] #423: #respond_to? returns true, actual method call raises NoMethodError
MacRuby
ruby-noreply at macosforge.org
Tue Feb 23 04:26:29 PST 2010
#423: #respond_to? returns true, actual method call raises NoMethodError
---------------------------------+------------------------------------------
Reporter: ecin@… | Owner: martinlagardette@…
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
Comment(by martinlagardette@…):
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/>
More information about the MacRuby-devel
mailing list