Replace the word inheritors implementation with ruby method