Changed String to Fixnum
Merge pull request #356 from StephenOTT/patch-2

Changed String to Fixnum for several methods