Class: Ruleby::Core::RulebyConflictResolver

Inherits:
Object
  • Object
show all
Defined in:
lib/core/engine.rb

Overview

A conflict resolver is used to order activations that become active at the same time. The default implementation sorts the agenda based on the properties of the activation.

Instance Method Summary collapse

Instance Method Details

#resolve(agenda) ⇒ Object



143
144
145
# File 'lib/core/engine.rb', line 143

def resolve(agenda) 
  return agenda.sort
end