Current Path : /opt/alt/ruby34/share/gems/gems/getoptlong-0.2.1/sample/getoptlong/ |
Current File : //opt/alt/ruby34/share/gems/gems/getoptlong-0.2.1/sample/getoptlong/abbrev.rb |
require 'getoptlong' options = GetoptLong.new( ['--xxx', GetoptLong::NO_ARGUMENT], ['--xyz', GetoptLong::NO_ARGUMENT] ) options.each do |option, argument| p [option, argument] end