Skip to content

Commit

Permalink
Add missing full stop
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Jan 23, 2017
1 parent 3679fec commit 9cc5878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/style/zero_length_predicate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Style
# by a predicate method, such as receiver.length == 0,
# receiver.length > 0, receiver.length != 0,
# receiver.length < 1 and receiver.size == 0 that can be
# replaced by receiver.empty? and !receiver.empty
# replaced by receiver.empty? and !receiver.empty.
#
# @example
#
Expand Down
2 changes: 1 addition & 1 deletion manual/cops_style.md
Original file line number Diff line number Diff line change
Expand Up @@ -5558,7 +5558,7 @@ This cop checks for numeric comparisons that can be replaced
by a predicate method, such as receiver.length == 0,
receiver.length > 0, receiver.length != 0,
receiver.length < 1 and receiver.size == 0 that can be
replaced by receiver.empty? and !receiver.empty
replaced by receiver.empty? and !receiver.empty.

### Example

Expand Down

0 comments on commit 9cc5878

Please sign in to comment.