diff options
Diffstat (limited to 'doc/optparse/ruby/parse.rb')
| -rw-r--r-- | doc/optparse/ruby/parse.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/doc/optparse/ruby/parse.rb b/doc/optparse/ruby/parse.rb deleted file mode 100644 index a5d4329484..0000000000 --- a/doc/optparse/ruby/parse.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'optparse' -parser = OptionParser.new -parser.on('--xxx') do |value| - p ['--xxx', value] -end -parser.on('--yyy YYY') do |value| - p ['--yyy', value] -end -parser.on('--zzz [ZZZ]') do |value| - p ['--zzz', value] -end -ret = parser.parse(ARGV) -puts "Returned: #{ret} (#{ret.class})" |
