Sha256: 702efc468964c25ac3ba38abfe041878c08cf707bc746342d3a3fac9f13cad95
Contents?: true
Size: 1.09 KB
Versions: 3
Compression:
Stored size: 1.09 KB
Contents
= Paramix * http://rubyworks.github.com/paramix * http://death.rubyforge.org (old site) == DESCRIPTION Parametric Mixins provides parameters for mixin modules. == FEATURES/ISSUES * Include mixins with class level parameterization. * Light-weight --it does not resort to cloned anonymous modules. == RELEASE NOTES Please see RELEASE file. == SYNOPSIS module MyMixin include Paramix def hello puts "Hello from #{mixin_parameters[MyMixin][:name]}!" end end class MyClass include MyMixin[:name => 'Ruby'] end m = MyClass.new m.hello #=> 'Hello from Ruby!' == HOW TO INSTALL Describe your installation procedure here. To install with RubyGems simply open a console and type: gem install paramix Local installation requires Setup.rb (gem install setup), then download the tarball package and type: tar -xvzf paramix-1.0.0.tgz cd paramix-1.0.0.tgz sudo setup.rb all Windows users use 'ruby setup.rb all'. == LICENSE Copyright (c) 2006 Coding Dead This program is ditributed unser the terms of the LGPLv3 license. See LICENSE file for details.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
paramix-1.1.0 | README.rdoc |
paramix-1.0.1 | README.rdoc |
paramix-1.0.0 | README.rdoc |