diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-27 09:01:43 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-27 09:01:43 +0000 |
commit | a9625a2f8aef6c43b6564c79088f7776d77029b5 () | |
tree | 07bc16e1cf5764392cda014deaa19b64aa617e48 /lib/optparse.rb | |
parent | 8f1d721810b6f335be808e8097eea587efcd9dd0 (diff) |
* lib/optparse.rb: [DOC] Add example of generating help with optparse.
by @joelmcen documenting-ruby/ruby#19 https://.com/documenting-ruby/ruby/pull/19 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/optparse.rb | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -82,6 +82,43 @@ # p options # p ARGV # # === Complete example # # The following example is a complete Ruby program. You can run it and see the |