RubyGems.org

unextendable

0.1.7

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
Authors

Paul Engel

4,712 total downloads 402 for this version
Owners

Bde72aae9978a5c58f08e1f4690f48b5

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