tario/define_method_handler — Issue #7: Ignore and value to allow define conditions only in the chain
Author: tario
Created: 2012-02-12 22:24:00+00:00
State: open

class X

define_method_handler(foo) do |a|
if a == 3
value a+1
else
ignore # process the next link
end
end

end