diff options
author | Lee Jarvis <lee@jarvis.co> | 2011-06-07 17:24:06 +0100 |
---|---|---|
committer | Lee Jarvis <lee@jarvis.co> | 2011-06-07 17:24:06 +0100 |
commit | 1a9e1fd01dc262b4b0f99935cb58690729df22e7 (patch) | |
tree | b58e92d3ca8a2f45af2e1b2b93bafa2bd95b61e8 /README.md | |
parent | 14af200428ee02e94c5ddbb215350d899d6de186 (diff) | |
download | slop-1a9e1fd01dc262b4b0f99935cb58690729df22e7.tar.gz |
added wiki page link to creating-options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,6 +33,10 @@ Usage opts.age? #=> false opts[:age] #=> nil +For more information about creating options, see the +[Creating Options](https://github.com/injekt/slop/wiki/Creating-Options) +wiki page. + You can also return your options as a Hash opts.to_hash #=> {'name' => 'Lee Jarvis', 'verbose' => true, 'age' => nil, 'sex' => 'male'} |