List an object's methods


/ Published in: Ruby
Save to your folder(s)



Copy this code and paste it in your HTML
  1. puts "\n\object.methods : "+ object.methods.sort.join("\n").to_s+"\n\n"

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.