I chose an Array to pass the options, because it's easy and resembles the filter syntax filter MyClass, option1, option2.
I am not using #register right now. You could also pass an Array to that method, but maybe we should change the register method to allow something like register :type, MyFilter, option1, option2, ping me if you think that's a good idea.
The ChainedFilter is really handy. I wanted to adjust the used filters a little, so this patch allows to pass options via an Array like:
I chose an Array to pass the options, because it's easy and resembles the filter syntax
filter MyClass, option1, option2
.I am not using
#register
right now. You could also pass an Array to that method, but maybe we should change the register method to allow something likeregister :type, MyFilter, option1, option2
, ping me if you think that's a good idea.