Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
GetoptLong#terminated?
terminated?
lib/getoptlong.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/getoptlong.rb, line 632
def terminated?
return @status == STATUS_TERMINATED
end
Returns true if option processing has terminated, false otherwise.