Projects

Ticket #22 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

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

Changed 4 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed

Should be fixed in r51/trunk.

Changed 4 years ago by lsansonetti@…

  • milestone changed from MacRuby 1.0 to MacRuby 0.1

Changed 3 years ago by ben@…

  • cc ben@… added

Cc Me!

Note: See TracTickets for help on using tickets.