In this release we have primarily relegated code in the examples name space to a second plane. It is assumed that if you want to run those examples you will know to enable them in the spec_helper, and that you will have the debugger appropriate for version of Ruby present on your machine as we have eliminated the dependencies.
We have also started a new set of examples on injectors that illustrate some additional properties of injectors we have cataloged under the description of orthogonality. They are intended to do just that, show some of the orthogonality available to injectors with respect to the rest of the library.
In this example we illustrate the various alternate and equivalent ways of working with Injector and member method declarations. Take a look:
|
|
|
In this example we show how injectors like other mix-ins can be self extended/enriched, and they can under the right premises also be made to work in conjunction with #decorate and #with.
|
A few last examples before we go.
|
|
|
We hope you find the code illustrative, and please continue to send your comments and inquiries to the address on Github. We will do our best to answer them as quickly and knowledgeably as we can. Remember that some of this is uncharted territory and we are kind of making it up as we go.
Thanks so much for the people that have show interest, and kind regards to all.
lha
No comments:
Post a Comment