Skip to content

Commit

Permalink
Fix bug of sample code of eql?.
Browse files Browse the repository at this point in the history
- remove `==`
  • Loading branch information
fortissimo1997 committed Sep 27, 2014
1 parent 6848de8 commit 31d7b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

* <a name="no-cryptic-perlisms"></a>
Expand Down

0 comments on commit 31d7b6a

Please sign in to comment.