Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

MacRuby does not allow native (Objective-C) methods to be undefined

#75

Mocha currently undefines existing methods on a Mock so it can use method_missing. However this does not work for native methods in MacRuby.

See this commit and this gist by alloy for details of the problem and a suggested solution.

I wonder whether this would be better handled by inheriting Mock from BasicObject in Ruby 1.9 and a BlankSlate implementation in Ruby 1.8. Also see this related ticket.

Reported by James Mead · November 25th, 2010 @ 05:08 PM

State: new
Milestone: none
Assigned to: James Mead James Mead

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.