Ruby Tip Of The Day

Thanks goes to Rein on this one.

I hate trolling through .methods finding custom methods, but Rein recently told me of a way that I didn’t have to. For example lets suggest you were looking at the request.methods,

request.methods - Class.methods

So simple I can’t believe I didn’t think of it before.

Also note that you can make it even more usable as so:

(request.methods - Class.methods).to_yaml

1 Response to “Ruby Tip Of The Day”


  1. Gravatar Icon 1 prescription 24 phentermine no

    no fedex prescription phentermine buy phentermine no prescription

Comments are currently closed.