More solutions. Ruby makes it easy