[ruby/forwardable] Freeze VERSION and FORWARDABLE_VERSION to improve Ractor-compliance

https://github.com/ruby/forwardable/commit/c91f41f4fa
This commit is contained in:
rm155 2021-07-27 12:47:31 -04:00 committed by git
parent 70e6be2b05
commit 78af05ba0f
1 changed files with 2 additions and 0 deletions

View File

@ -113,7 +113,9 @@ module Forwardable
# Version of +forwardable.rb+
VERSION = "1.3.2"
VERSION.freeze
FORWARDABLE_VERSION = VERSION
FORWARDABLE_VERSION.freeze
@debug = nil
class << self