Is there a method in ruby to turn fixnum like 74239 into an array like [7,4,2,3,9]?
74239
[7,4,2,3,9]
In Ruby 2.4, integers will have a digits method.