Ad
  • Custom User Avatar

    Expected value should be calculated before calling the user's function in Ruby, because strings are mutable and it can lead to unexpected behaviour.

  • Custom User Avatar

    Just tested it and it worked fine for me, remember strings in Ruby are mutable, so, if your code fails only random tests, that could be it.

  • Default User Avatar

    Hi Test cases for ruby are still failing when my code is working correctly.