From 5c4efcf67fa21480cde09643097f31a57756063c Mon Sep 17 00:00:00 2001
From: Roguelearg <lebasketteurdu76@hotmail.fr>
Date: Tue, 12 Sep 2017 15:44:10 +0200
Subject: [PATCH] Correct eq_op

---
 lib/mm2ep_depend/parser.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/mm2ep_depend/parser.rb b/lib/mm2ep_depend/parser.rb
index c0730ce..7f9554b 100755
--- a/lib/mm2ep_depend/parser.rb
+++ b/lib/mm2ep_depend/parser.rb
@@ -16,7 +16,7 @@ module Mm2ep
       end
 
       def and_op
-        binding.pry
+        # binding.pry
         return @expr1 && @expr2
       end
     end
@@ -58,7 +58,7 @@ module Mm2ep
       attr_reader :val, :other
       def initialize val, other
         @val = val.value.to_s
-        if other.value.to_s.match(/true/).nil?
+        unless other.value.to_s.match(/true/).nil?
           @other = true
         else
           @other = false
@@ -66,7 +66,7 @@ module Mm2ep
       end
 
       def eq_op
-        return val = @other
+        return if val == @other
       end
     end