Ad
  • Default User Avatar

    Should either have random tests or contain better instructions on how to write a test. Without these, it shouldn't be level 7

  • Custom User Avatar

    No randeom tests

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Known new runner issue. Fixed.

    (It's still a bad kata though)

  • Custom User Avatar

    Interestingly the solution voted (at the time of this writing) most "Best Practice", won't cut it in Ruby 2.5:

    STDERR
    main.rb:2: warning: constant ::Fixnum is deprecated
    main.rb:66: warning: constant ::Fixnum is deprecated
    

    I believe this is due to the redefinition of a certain method in the mentioned class in the kata's test cases

    I consider this to be an issue, since the tests should work for all language versions the kata accepts.
    Also, I haven't seen this kind of error in any of the other Ruby katas I finished (a bit more than 1500 at this time).

    Cheers

  • Default User Avatar

    I am getting the following error:
    "STDERR:
    initialize': undefined method+' for 1491836733000000000:Fixnum (NoMethodError)
    from now' frommeasure'
    from describe' fromdescribe'
    from `
    '"
    My solution is not using "+". And even if I let the solution blank I get this error message!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Could you/someone explain how this works?

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    LOL! I love people like this!!

  • Custom User Avatar

    Alright Thank you :) it's a very challenging kata (Y)

  • Custom User Avatar

    The description contains the following line:

    Note: The following methods (among many others) have been disabled:
    

    Note the "(among many others)" part. If I was to post the whole list of disabled operators and given the nature of Ruby, this would kind of spoil the expected solution.

    The kata is labeled with "Fundamentals" though, so there's a hint there :)

  • Custom User Avatar

    ok can the kata author post all disabled operators ?

  • Loading more items...