ERESYE ルール エンジンに追加されたルールのリストを取得する方法はありますか? 次のような関数があるとします。
start () ->
eresye:start(engine),
eresye:add_rule(engine, {module, a_rule_function}),
eresye:add_rule(engine, {module, another_rule_function}),
%% do some other stuff
ok.
エンジンの名前から、追加されたすべてのルール関数の配列を取得する方法はありますか? 私はこれを自分で追跡することができましたが、eresye:list_rules(engine)
.
前もって感謝します!