From 31d7b6a8f32ac57d8248ad8fdbd6d7357367dac7 Mon Sep 17 00:00:00 2001 From: fortissimo1997 Date: Sat, 27 Sep 2014 23:18:52 +0900 Subject: [PATCH] Fix bug of sample code of `eql?`. - remove `==` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dea7f9e15..8e493257c 100644 --- a/README.md +++ b/README.md @@ -1368,7 +1368,7 @@ condition](#safe-assignment-in-condition). # good "ruby" == some_str - 1.0.eql? == x # eql? makes sense here if want to differentiate between Fixnum and Float 1 + 1.0.eql? x # eql? makes sense here if want to differentiate between Fixnum and Float 1 ``` *