Platinum Partner

Wrap All Methods Of An Object

Given an existing object "obj", wraps all of its methods.  In this case, the wrapper prints a log of the method invocation, and the call stack of the call, but you can modify it to do anything...


virtual_class = class <
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}