From f08030e9dccf38d9ea5c9505203fe26484dc28d8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 9 Nov 2025 20:16:22 +0900 Subject: [ruby/optparse] [DOC] A constant for compatibility https://github.com/ruby/optparse/commit/0125cb4918 --- lib/optparse.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/optparse.rb b/lib/optparse.rb index 0a3d04b09a..c66c84270a 100644 --- a/lib/optparse.rb +++ b/lib/optparse.rb @@ -427,7 +427,8 @@ require 'set' unless defined?(Set) class OptionParser # The version string VERSION = "0.8.0" - Version = VERSION # for compatibility + # An alias for compatibility + Version = VERSION # :stopdoc: NoArgument = [NO_ARGUMENT = :NONE, nil].freeze -- cgit v1.2.3