Skip to content

Commit

Permalink
Use reduce over inject per thoughtbot styleguide
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecraige authored and arunagw committed Mar 18, 2015
1 parent 2548a1a commit 9535367
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .ruby-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ Style/CollectionMethods:
detect: find
find_all: select
find: detect
reduce: inject
Style/CommentAnnotation:
Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
REVIEW).
Expand Down

0 comments on commit 9535367

Please sign in to comment.