📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-01 17:47:50
📂
/ (Root)
/
opt
/
alt
/
ruby34
/
share
/
gems
/
gems
/
getoptlong-0.2.1
/
sample
/
getoptlong
📍 /opt/alt/ruby34/share/gems/gems/getoptlong-0.2.1/sample/getoptlong
🔄 Refresh
✏️
Editing: require_order.rb
Read Only
require 'getoptlong' options = GetoptLong.new( ['--xxx', GetoptLong::REQUIRED_ARGUMENT], ['--yyy', GetoptLong::OPTIONAL_ARGUMENT], ['--zzz', GetoptLong::NO_ARGUMENT] ) options.ordering = GetoptLong::REQUIRE_ORDER puts "Original ARGV: #{ARGV}" options.each do |option, argument| p [option, argument] end puts "Remaining ARGV: #{ARGV}"
💾 Save Changes
❌ Cancel