Fix typo in ruby sample code