HomePhabricator

Fixed Style/HashSyntax RuboCop offense

Authored by zeljkofilipin.

Description

Fixed Style/HashSyntax RuboCop offense

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

Offenses:

maintenance/jsduck/custom_tags.rb:16:16: C: [Corrected] Use the new
Ruby 1.9 hash syntax.

return { :tagname => @tagname, :doc => :multiline }
         ^^^^^^^^^^^

...
25 files inspected, 8 offenses detected, 8 offenses corrected

Bug: T91485
Change-Id: Ic2aff32e106c5b5eaa45839ad3310b97fcec6ddf

Details

Committed
dduvallMar 23 2015, 6:38 PM
Parents
rMW97b06ddd7c81: Fixed Style/PerlBackrefs RuboCop offense
Branches
Unknown
Tags
Unknown
References
refs/changes/78/197678/3
ChangeId
Ic2aff32e106c5b5eaa45839ad3310b97fcec6ddf