NAME

Catmandu::Fix::Condition - Role for all Catmandu::Fix conditionals

SYNOPSIS

if <Catmandu::Fix::Condition instance>
	<pass_fixes>
else
	<fail_fixes>
end

DESCRIPTION

All Catmandu::Fix conditional need to implement Catmandu::Fix::Condition which provides a list of fixes that need to be executed when a conditional matches (pass_fixes) and conditional that need to be executed when a conditional fails (fail_fixes).

SEE ALSO

Catmandu::Fix, Catmandu::Fix::Condition::all_match, Catmandu::Fix::Condition::any_match, Catmandu::Fix::Condition::exists,