This little gem/plugin adds a little syntactic sugar to your code. You can append not in the middle of your code to improve readability.


"something".not.tainted? => 'iain') # not sure why you'd want to do this though
@foo.not.not.not.not.send(:not).not.nil? # sorry, couldn't resist


To install as a gem:

gem sources add
gem install iain-not

To install as a Rails plugin:

ruby script/plugin install git://

Copyright © 2008 Iain Hecker, released under the MIT license