Ruby - Enumerable - reduce

  • + 2 comments

    I'm receiving this error when run my code:

    solution.rb:24: warning: constant ::Fixnum is deprecated
    

    I have searched about it, it sounds like a ruby version or something like that. How cold I solve it in runtime?