From 2eae7049384fb764a45b04451c8cc7d80de587ed Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 31 Oct 2025 12:05:15 +0900 Subject: [ruby/optparse] We should use VERSION instead of Version constant https://github.com/ruby/optparse/commit/94de48b47e --- lib/optparse.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/optparse.rb') diff --git a/lib/optparse.rb b/lib/optparse.rb index ea6844b955..dcd980f874 100644 --- a/lib/optparse.rb +++ b/lib/optparse.rb @@ -426,7 +426,8 @@ require 'set' unless defined?(Set) # class OptionParser # The version string - OptionParser::Version = "0.7.0.dev.2" + VERSION = "0.7.0.dev.2" + Version = VERSION # for compatibility # :stopdoc: NoArgument = [NO_ARGUMENT = :NONE, nil].freeze -- cgit v1.2.3