Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: AST
    • Labels:
      None
    • Estimate:
      Hours

      Description

      Affected languages: Ruby (no ternary operator in Scala and Kotlin)

      Ruby:

      Ternary operator at completely ignored and should be mapped to a if the same way Apex is doing it.

      score= 50
      result = score > 40 ? 'Pass' : 'Fail'
      

      Affected rules:

      RSPEC-1145RSPEC-134RSPEC-1125RSPEC-3923

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.gumowski Michael Gumowski
                Reporter:
                quentin.jaquier Quentin Jaquier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: