Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'help' option to all methods #11

Closed
now opened this issue May 3, 2010 · 0 comments
Closed

Add 'help' option to all methods #11

now opened this issue May 3, 2010 · 0 comments

Comments

@now
Copy link
Owner

now commented May 3, 2010

All methods should take the 'help' option. Dispatch methods already do it, but action method don’t. It’s a simple matter of adding it to the constructor of Method. Then, whenever Method#call is invoked, check for options['help'] and, if present, use Help::Console (or whatever help utility has been selected) to display help for self, that is, the method.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant