Micro Gems

24/02/2012

After reading Jeff Kreeftmeijer's blog post on Micro Gems I decided to give it a go.

Presenting Hide the Micro gem to hide Ruby code, a gloryifed comment outterer.

All in all it was quite fun.

I'm not sure adding a method to Kernal is a particully good idea, but thats the only way I could think of to get the functionality everywhere with out having to create a new object and have a syntax such as Hide.this { really anything }.

Here is the spec and implimentation, see the full Gist for README and gemspec: