Rule - Rule object

class Rule(id) → Rule

Creates a new Rule object with the given id.

Rule is a simple class type that carries a weight indicator and arbitrary code data for usage in the dynamic script generation process.

Attributes

Rule.code

Gets or sets the code of the Rule.

Rule.id

Gets the id of the Rule.

Rule.used

Indicates whether the Rule was used or not.

Rule.weight

Gets or sets the weight of the Rule.

Table Of Contents

Previous topic

CLearnSystem - Rule script generation

Next topic

RuleSet - Rule container

This Page