Same result but making things more difficult than it needs to be (obfuscation); not really the Ruby way.

I should consider rewriting the above as `values = %w(1 2 3 4 5 6 7 8 9)`. See https://github.com/bbatsov/ruby-style-guide#collections