link up sentence c methods to ruby