summaryrefslogtreecommitdiff
path: root/sample/getoptlong/permute.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/getoptlong/permute.rb')
-rw-r--r--sample/getoptlong/permute.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/sample/getoptlong/permute.rb b/sample/getoptlong/permute.rb
deleted file mode 100644
index 8efcad22ea..0000000000
--- a/sample/getoptlong/permute.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-require 'getoptlong'
-
-options = GetoptLong.new(
- ['--xxx', GetoptLong::REQUIRED_ARGUMENT],
- ['--yyy', GetoptLong::OPTIONAL_ARGUMENT],
- ['--zzz', GetoptLong::NO_ARGUMENT]
-)
-puts "Original ARGV: #{ARGV}"
-options.each do |option, argument|
- p [option, argument]
-end
-puts "Remaining ARGV: #{ARGV}"