Plugin details

Syntactic sugar for negating any results: @foo.not.nil?

Websitehttp://iain.github.com/not Repositorygit://github.com/iain/not.git Author Iain Hecker LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install git://github.com/iain/not.git

Examples

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

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | Back in time (3 older versions) | Last edited by: scott, 9 months ago