README
- Full Path:
- README
README for module-pluggable
module-pluggable provides plugin system for classes.
Installation
Archive Installation
rake install
Gem Installation
gem install module-pluggable
Subversion Repository
Hosted by CodeRepos
svn co http://svn.coderepos.org/share/lang/ruby/module-pluggable/
Examples
class APluggableClass
pluggable :plugins
def initialize
plugins.init(self)
end
def say
plugins.say("hello")
end
end
see examples/simple.rb.
Copyright
| Author: | cho45 <cho45@lowreal.net> |
| Copyright: | Copyright © 2007 cho45 www.lowreal.net |
| License: | Ruby’s |