From 5370e719e4d85eee9a9b6db7044ea62ba12befe2 Mon Sep 17 00:00:00 2001 From: Pawan Dubey Date: Fri, 20 Apr 2018 01:30:30 -0400 Subject: [PATCH] Update README to show off MatchResult#error --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 923ad53..5d525bb 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ end res = parser.parse("0-1 + 2 /4 * 51 ") res.success? #=> true +res.error #=> nil ; this will give you more context on a parse failure. ``` ## Contributing