Fix typo in ruby/functions.sh