Ticket #22 (closed defect: fixed)
NSPredicate doesn't work
| Reported by: | jordan.breeding@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.1 |
| Component: | MacRuby | Keywords: | |
| Cc: | ben@… |
Description
72 jordan@thetourist ~/Desktop/Other/scripts/shootout > /usr/local/bin/irb
irb(main):001:0> framework("Cocoa")
=> true
irb(main):002:0> NSPredicate.predicateWithFormat("%K == %@", "test", "string value")
NoMethodError: undefined method `predicateWithFormat' for NSPredicate:Class
from (irb):2
from /usr/local/lib/ruby/1.9.0/irb.rb:149:in `block (2 levels) in eval_input'
from /usr/local/lib/ruby/1.9.0/irb.rb:262:in `signal_status'
from /usr/local/lib/ruby/1.9.0/irb.rb:146:in `block in eval_input'
from /usr/local/lib/ruby/1.9.0/irb.rb:145:in `eval_input'
from /usr/local/lib/ruby/1.9.0/irb.rb:69:in `block in start'
from /usr/local/lib/ruby/1.9.0/irb.rb:68:in `catch'
from /usr/local/lib/ruby/1.9.0/irb.rb:68:in `start'
from /usr/local/bin/irb:12:in `<main>'
irb(main):003:0> quit
Change History
Note: See
TracTickets for help on using
tickets.

