Permalink
Browse files

improved error methods on engine

  • Loading branch information...
1 parent 25fc29f commit a70fe4bff3f3077a674991775d0a484013c32cc4 @jkutner jkutner committed Apr 25, 2011
Showing with 5 additions and 3 deletions.
  1. +5 −3 lib/core/engine.rb
View
@@ -266,10 +266,12 @@ def match(agenda=nil, used_agenda=[])
end
end
- def extract_errors
- e = @root.errors
+ def errors
+ @root.errors
+ end
+
+ def clear_errors
@root.clear_errors
- e
end
def print

0 comments on commit a70fe4b

Please sign in to comment.