"Example 5.31. Object class — instanceMethods method" includes
say .String~instanceMethods(.String)~allIndexes --> CR,NEW,NL,NULL,TAB
This was OK before the 5.0.0 release. Now it should be something like ALPHA, ALNUM, BLANK, CNTRL, CR, DIGIT, GRAPH, LOWER, NEW, NL, NULL, PUNCT, PRINT, SPACE, TAB, UPPER, XDIGIT, or an equivalent explanation.
Anonymous
I suggest the example be modified to:
say .String~instanceMethods(.String)~allIndexes~sort~toString(,',')
which gives (on my system):
ALNUM,ALPHA,BLANK,CNTRL,CR,DIGIT,GRAPH,LOWER,NEW,NL,NULL,PRINT,PUNCT,SPACE,TAB,UPPER,XDIGIT
That's excellent. I would replace "," with ", ". On my system, it gives ALNUM, ALPHA, BLANK, CNTRL, CR, DIGIT, GRAPH, LOWER, NEW, NL, NULL, PRINT, PUNCT, SPACE, TAB, UPPER, XDIGIT (we are in agreement, as it seems :)).
How about a patch and commit? (Gil, aren‘t you a committer? BTW. Your updated tools for creating the documentation has been working just great, kudos!)
—-rony
Rony G. Flatscher (mobil/e)
Related
Documentation Bugs:
#316Tentative patch. Not completely satisfied, as output occupies two lines. Don't see how to fix it, tho.
changes committed with revision [r12863]
Related
Commit: [r12863]