https://bugzilla.wikimedia.org/show_bug.cgi?id=57597

       Web browser: ---
            Bug ID: 57597
           Summary: Prefer double-quoted strings in Ruby code
           Product: Wikimedia
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Quality Assurance
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: zfili...@wikimedia.org
                CC: cmcma...@wikimedia.org, zfili...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

We should follow GitHub Ruby Styleguide.

Strings section says:

Prefer double-quoted strings. Interpolation and escaped characters will always
work without a delimiter change, and ' is a lot more common than " in string
literals.

  # bad
  name = 'Bozhidar'

  # good
  name = "Bozhidar"

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to