Fixed Lint/UnusedMethodArgument RuboCop offense
authorŽeljko Filipin <zeljko.filipin@gmail.com>
Wed, 18 Mar 2015 17:50:13 +0000 (18:50 +0100)
committerZfilipin <zfilipin@wikimedia.org>
Wed, 18 Mar 2015 18:02:30 +0000 (18:02 +0000)
commit07e09658e2dce7441ef2504ae3c59a28ee4b0be6
tree5ba6c6577c2f83348b29793d6402bafd204ade7e
parent2cc78fd8f8f3d5720b8649c9c66c74c1cad8a6cb
Fixed Lint/UnusedMethodArgument RuboCop offense

$ bundle exec rubocop --auto-correct
Inspecting 25 files
.W.......................

Offenses:

maintenance/jsduck/custom_tags.rb:14:26: W: [Corrected] Unused method
argument - position. If it's necessary, use _ or _position as an
argument name to indicate that it won't be used.
  def parse_doc(scanner, position)
                         ^^^^^^^^
...
25 files inspected, 2 offenses detected, 2 offenses corrected

Bug: T91485
Change-Id: Ide96774c284af97f8d587bd6cde302c4500496ed
.rubocop_todo.yml
maintenance/jsduck/custom_tags.rb