not sure what the ruby function is getting