Re:Expose any Ruby object over the web. An interesting littl...
by ericb on Tuesday November 16, 2010 @05:59PM
(#1912090)
This is an interesting idea, and I will try it. Added methods mainly gets you if there is a name collision, it seems to me. Changing core methods, which is also possible, scares the bejeezus out of me.
For kicks, go open script/console, type [].methods.size, and create a passing test for that number. It will fail, eventually. The code that kills it may surprise you.