Demystify Rails Class Methods – Get all Methods available on a class

Get all methods on a class.

It’s a long list..

puts ClassName.methods.sort.join("\n").to_s+"\n\n"

Leave a Reply

Your email address will not be published.