By mswatcher
via saturnflyer.com
Submitted: Mar 21 2013 / 12:17
SimpleDelegator adds some convenient ways to see what methods are available. For example, if we have our jim object wrapped by displayer, what can we do with it? Well if we call displayer.methods we’ll get back a unique collection of both the object’s and wrapper’s methods.
Add your comment