adding Number#cap to the range package as suggested in #304
edge build