Ad
  • Custom User Avatar

    It's so annoying when Katas test for some error case but they don't specify what it is in the question. At least make the test cases visible. I know I can pay for access to the test cases, but I'm not sure I will.

  • Custom User Avatar

    for some reason def self.is_exception?(arg); arg.is_a? Exception; end didn't work for me. What did work was to traverse the whole tree of classes which descend from Exception and then test the arg's class against that whole list.