RubyGems.org

unextendable

0.1.5

Unextendable originated from the thought of being able to implement the State pattern within object instances using modules. In other words: I wanted object instances to behave dependent on their state using modules. I really want to use modules because they are commonly used to define a set of methods which you can extend within an object instance. Unfortunately, you cannot just unexclude a module. So after searching the web for solutions, I came across Mixology, evil-ruby and StatePattern. But they slightly did not fit the picture. So after doing some research, I came up with Unextendable.

installgem install unextendable -v 0.1.5
Authors

Paul Engel

7,441 total downloads 1,590 for this version
Owners

435ad060e53afb17929653e1898d1856

Gemfile
gem 'unextendable', '~> 0.1.5'
Versions
  1. 0.1.7 August 15, 2012 (10.5 KB)
  2. 0.1.6 January 9, 2012 (10.5 KB)
  3. 0.1.5 June 30, 2011 (9.5 KB)
  4. 0.1.4 May 3, 2011 (9.5 KB)
  5. 0.1.3 May 2, 2011 (9.5 KB)
Show all versions (8 total)
Development Dependencies
  1. mocha >= 0
  2. shoulda >= 0