ctype is a simple implementation of ctype.h. It provides methods like alpha? and digit? for Fixnums and Strings, so it can be used for string analysing (like scanners): 'c'.alpha? -> true
murphy
March 17, 2005 5:00am
无