Merge pull request #30 from edshadi/master

ruby implementation