Agile Web Development

Build it. Launch it. Love it.

Acts as NullObject

Instead of using a null reference to convey absence of an object (for instance, a non-existent customer), one uses an object which implements the expected interface, but whose method body is empty. The advantage of this approach over a working default implementation is that a Null Object is very predictable and has no side effects: it does nothing. This project is Rails plugin.

Vitals

Home http://github.com/lacomartincik/acts-as-nullobject/tree/master
Repository git://github.com/lacomartincik/acts-as-nullobject.git
License Rails' (MIT)
Tags Tag_red
Rating (1 vote)
Owner Ladislav Martincik
Created 4 November 2008

Comments

Add a comment