Small useful additions to ruby standard classes