From 40a81d1edfa5b4ec0ebafed93afe4d7703f99153 Mon Sep 17 00:00:00 2001 From: Robert Fletcher Date: Mon, 5 Jan 2015 10:46:55 -0800 Subject: [PATCH] typo fix in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ec5306fc6..3103266a0 100644 --- a/README.md +++ b/README.md @@ -1705,7 +1705,7 @@ condition](#safe-assignment-in-condition). end ``` -* +* Prefer `map` over `collect`, `find` over `detect`, `select` over `find_all`, `reduce` over `inject` and `size` over `length`. This is not a hard requirement; if the use of the alias enhances readability, it's ok to use it. @@ -1713,7 +1713,7 @@ condition](#safe-assignment-in-condition). programming languages. The reason the use of `select` is encouraged over `find_all` is that it goes together nicely with `reject` and its name is pretty self-explanatory. -[[link](#map-fine-select-reduce-size)] +[[link](#map-find-select-reduce-size)] * Don't use `count` as a substitute for `size`. For `Enumerable` objects other