Posted By

arpit on 10/12/11


Tagged

Reflection


Versions (?)

List an object's methods


 / Published in: Ruby
 

URL: http://jasonvogel.blogspot.com/2007/01/ruby-code-snippet-methods-list.html

  1. puts "\n\object.methods : "+ object.methods.sort.join("\n").to_s+"\n\n"

Report this snippet  

You need to login to post a comment.