Code doc conventions: pipe for type union + * for splats

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 8.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket is to go through the Mongoid code comments and apply the following conventions:

      1. Pipe char to indicate a union of possible types (as opposed to comma)
      2. Splats indicated by leading * char in the param name

      Both conventions appear below:

      1. @param [ String | Symbol ] *fields Field to tally.

       

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: