lib/my_rhouse/rules/rule_engine.rb
# Check if this event triggers any rules
Check if this event triggers any rules
Check if this event triggers any rules
def evaluate( event )
      engine :house_rules do |engine|
        rules( engine )
        engine.assert( event )
        engine.match
      end
    end
def evaluate ( event ) engine :house_rules do | engine | rules ( engine ) engine . assert ( event ) engine . match end end
Check if this event triggers any rules
Check if this event triggers any rules
event
<not_specific>