Cory G Watson > Rule-Engine > Rule::Engine::Session

Download:
Rule-Engine-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Rule::Engine::Session - A Rule Engine Session

ATTRIBUTES ^

environment

rules

A hash of rules.

METHODS ^

add_ruleset($name, $ruleset)

Add a ruleset.

execute($ruleset, \@objects)

Execute the rules against the objects provided

get_ruleset($name)

Gets the RuleSet (if it exists) with the specified name.

rule_count

Returns the number of rules for this session.

syntax highlighting: