AndyDentFree / rbstuff

Automatically exported from code.google.com/p/rbstuff
2 stars 0 forks source link

rbKarel - build dynamic help of available Script commands using attributes #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Idea that just occurred to me whilst writing a related feature reques to Real - 
if I put brief help into 
an attribute on a method then I can use Introspection to iterate that class and 
generate a help page 
for all the commands I intend making available to the script, skipping the 
public methods which it is 
not intended the user invoke through scripts.

Original issue reported on code.google.com by dentaroo@gmail.com on 1 May 2009 at 12:12