Update README.md

pull/210/head
Mahmoud Ben Hassine 6 years ago
parent d071dabbb1
commit 4b3f7aea61

@ -95,7 +95,8 @@ actions:
```
```java
Rule weatherRule = MVELRuleFactory.createRuleFrom(new FileReader("weather-rule.yml"));
MVELRuleFactory ruleFactory = new MVELRuleFactory(new YamlRuleDefinitionReader());
Rule weatherRule = ruleFactory.createRule(new FileReader("weather-rule.yml"));
```
### 2. Then, fire it!

Loading…
Cancel
Save