summaryrefslogtreecommitdiff
path: root/sample/getoptlong/types.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/getoptlong/types.rb')
-rw-r--r--sample/getoptlong/types.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/sample/getoptlong/types.rb b/sample/getoptlong/types.rb
deleted file mode 100644
index ac74bfe12e..0000000000
--- a/sample/getoptlong/types.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-require 'getoptlong'
-
-options = GetoptLong.new(
- ['--xxx', GetoptLong::REQUIRED_ARGUMENT],
- ['--yyy', GetoptLong::OPTIONAL_ARGUMENT],
- ['--zzz', GetoptLong::NO_ARGUMENT]
-)
-options.each do |option, argument|
- p [option, argument]
-end