ruby solution. Uses [] not () as per rule #1.
Merge pull request #15 from pda/ruby-pda

ruby solution. Uses [] not () as per rule #1.