1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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

View file

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