Jason's Rant...I mean Blog
Just a snippet how to print out a sorted list of an object's methods.
puts "\n\object.methods : "+ object.methods.sort.join("\n").to_s+"\n\n"
awesome..... really helped at the right time :)Jaydeep Dave
this is cool, thanks!
In a Rails console you could also type:Class.methods.sortwhere "Class" is the class you are investigating.
er... I meanty Class.methods.sort.
Post a Comment