From 9a7a2f095567748b7ff85f1b3c85936eb486d2ba Mon Sep 17 00:00:00 2001 From: Roguelearg Date: Tue, 12 Sep 2017 11:21:07 +0200 Subject: [PATCH] Correct Not_op --- lib/parser.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/parser.rb b/lib/parser.rb index 69ace7e..bf99e6a 100755 --- a/lib/parser.rb +++ b/lib/parser.rb @@ -31,7 +31,8 @@ module Mm2ep end def not_op - return true unless expr == true + # binding.pry + return true unless expr.value.to_s.eql? 'true' return false end end