HomeDevCentral
Diffusion Tommy 228d017ece70

Style: better compliance with community Ruby coding style guide

Description

Style: better compliance with community Ruby coding style guide

Summary:
The following points, detected by Rubocop, are improved:

  • if !somethingunless something
  • Ruby 1.9 hash syntax is used
  • is_quality?quality?
  • removed extraneous self

Test Plan: Run dashboard, ensure all cards are still available.

Reviewers: dereckson

Differential Revision: http://devcentral.nasqueron.org/D478

Details

Provenance
derecksonAuthored on Jul 10 2016, 20:02
Differential Revision
D478: Style: better compliance with community Ruby coding style guide
Parents
rTOMMY0bd9fd90d8d8: Git configuration
Branches
Unknown
Tags
Unknown
Tasks
T912: Follow the community Ruby Style Guide