Some fun: gem install not

This article is quite old.Time flies when you're having fun. I've been writing for my blog for a long time. Stuff changes fast, especially in the Ruby world. That's why I've put this warning on old posts. The article might still be valid, though.


Well then: happy holidays! This x-mas, there have been a few nice Ruby presents, like the merging of Rails with Merb and Github has a shiny new feature for creating project sites.

I too will present you a Ruby x-mas present. It's a nice, but useless present, not totally out of line with the usual x-mas presents.

It is a gem called not. With not you can get rid of exclamation marks and the not keyword, and putting it later on in the sentence, thus making it better English.

An example:

# for core Ruby methods:
# or any custom method:!

If you want it, you can install it as a gem:

sudo gem install not

or as a Rails plugin:

./script/plugin install git://

I hope you'll like it! Happy holidays!


I moved the gem to gemcutter. If you haven't tumbled yet, please do so, before installing my gem:

gem install gemcutter
gem tumble
comments powered byDisqus