Website hosting service by

 Back to Index

6.20.4 Callback Options

If optparse's built-in actions and types just don't fit the bill for you, but it's not worth extending optparse to define your own actions or types, you'll probably need to define a callback option. Defining callback options is quite easy; the tricky part is writing a good callback (the function that is called when optparse encounters the option on the command line).




2002-2004 Webhosting Service


Disclaimer: This documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to offers domain name registration, domain name transfer and domain search services  

Cheap domain registration : Register domain name or buy domain name, including free domain hosting services


Domain registration : Buy domain name or register domain name from $5.95/year only