| Short description: |
a linear evaluated chain design pattern |
| Category: |
Library/Design Patterns |
| Status: |
stable |
| Created: |
2003-12-08 23:01:01 GMT |
| Last update: |
- |
| Owner: |
babu
(Projects of this owner) |
| Homepage: |
http://babu7000.tripod.com/ |
| Download: |
not available
|
| License: |
Ruby's |
| Dependency: |
|
| Description: |
+----------------------+
>-[CF]-[CF]-[CF]-[CF]->¦ > Chain Result
+-----\----\----\----\-+
LEC is a container for ChainFilters (CF)
when a chain is evaluated with data, each filter is
run. it is possible to have a block
wich decides after each filter if the chain
is countinued or not. after evaluation of
all or a subset of filters, the chain result is
return. the feeded data is passed from filter to filter
because of the deep-copy problem of ruby, it is not
possible to built in a read-only filter concept.
|