NAME

VS::RuleEngine::Rule - Interface for rules.

INTERFACE

CLASS METHODS

new

Called when a new instance is requested.

INSTANCE METHODS

evaluate

Evaluates the rule. Must return either KV_MATCH if the rule matched or KV_NO_MATCH if it didn't.

For arguments passed to this method see "Arguments" in VS::RuleEngine::Constants.