Fix to_a since it is no longer in Ruby 2+
Merge pull request #2 from dblessing/fix_to_a

Fix to_a since it is no longer in Ruby 2+