diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-11-09 20:16:22 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-11-09 11:17:02 +0000 |
| commit | f08030e9dccf38d9ea5c9505203fe26484dc28d8 (patch) | |
| tree | 63401a418e68fad8946b886cfd6035e1b804bd82 | |
| parent | a4dff09be79b52288a47658964d25e5aa84fc960 (diff) | |
[ruby/optparse] [DOC] A constant for compatibility
https://github.com/ruby/optparse/commit/0125cb4918
| -rw-r--r-- | lib/optparse.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
