Ah, there you are! That makes sense. With this I can split the rule files again and it works nicely.
Another noobie-question:
Is timers.cancel(someItem) if timers.include?(someItem) necessary or can it be reduced to timers.cancel(someItem) in a typical use case? Typical means: Usually I am not interested in whether the timer could be canceled or not. I assume it will get canceled if there exists one for the item.
Alright then. I think I‘m done with the refactoring from RuleDSL to JRuby.
I will make some cosmetic changes here and there and will post examples afterwards in the examples section of this forum to show how I solved certain use cases to ultimately inspire more people to use this wonderful scripting language.