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