Skip to content

Commit

Permalink
enabled rubocop Naming/UncommunicativeMethodParamName
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Jun 28, 2018
1 parent 1de470b commit 6028980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ Style:

Bundler/OrderedGems:
Enabled: false

Naming/UncommunicativeMethodParamName:
Enabled: false
4 changes: 2 additions & 2 deletions test/test_helper/backend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ def limit(value)
@collection[0, value]
end

def count(*_)
def count(*)
size
end

end

class TestGroupedCollection < TestCollection

def count(*_)
def count(*)
@collection.map { |value| [value, value + 1] }.to_h
end

Expand Down

0 comments on commit 6028980

Please sign in to comment.