diff options
Diffstat (limited to 'doc/tutorial/optional_argument.rb')
-rw-r--r-- | doc/tutorial/optional_argument.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/doc/tutorial/optional_argument.rb b/doc/tutorial/optional_argument.rb deleted file mode 100644 index ebff2f466d..0000000000 --- a/doc/tutorial/optional_argument.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'optparse' -parser = OptionParser.new -parser.on('-x [XXX]', '--xxx') do |value| - p ['--xxx', value] -end -parser.on('-y', '--yyy [YYY]') do |value| - p ['--yyy', value] -end -parser.parse! |