digits is a string, not a Fixnum
I agree with @awolfson. Check out Confident Ruby (http://devblog.avdi.org/2013/08/26/confident-ruby-is-finished/) for a more detailed look on how to structure code in a way to avoid checking arguments on multiple levels
No. The name does help provide a clue about how to think about the problem, but you need not know anything of physics.
Loading collection data...
digits is a string, not a Fixnum
I agree with @awolfson. Check out Confident Ruby (http://devblog.avdi.org/2013/08/26/confident-ruby-is-finished/) for a more detailed look on how to structure code in a way to avoid checking arguments on multiple levels
No. The name does help provide a clue about how to think about the problem, but you need not know anything of physics.