summaryrefslogtreecommitdiff
path: root/sample/getoptlong/abbrev.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-01-16 16:30:32 +0900
committerHiroshi SHIBATA <[email protected]>2024-01-16 17:07:10 +0900
commit4b6936aa047158c98a9ac8861d51e5e09229f8c0 ()
tree9dca3595126af7fd634d7d9bf15c7d4811196082 /sample/getoptlong/abbrev.rb
parent3f5016178cb81536e800a9121b3804e36c9af93c (diff)
Unbundled samples for getoptlong
-rw-r--r--sample/getoptlong/abbrev.rb9
1 files changed, 0 insertions, 9 deletions
@@ -1,9 +0,0 @@
-require 'getoptlong'
-
-options = GetoptLong.new(
- ['--xxx', GetoptLong::NO_ARGUMENT],
- ['--xyz', GetoptLong::NO_ARGUMENT]
-)
-options.each do |option, argument|
- p [option, argument]
-end