Posted By

fernyb on 09/20/08


Tagged

rubycocoa


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

webstic


RubyCocoa - List Method Names For an Object


 / Published in: Ruby
 

Returns an Array of methods an Object has. This is useful when trying to figure out what method an object has.

  1. puts (sender.objc_methods - Object.methods)

Report this snippet  

You need to login to post a comment.