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.