Refactor parser.rb.

Remove all that value[1..-1] nonsense with an 'arguments' variable that explains
why the hell it actually exists.