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

[ruby/mutex_m] Make VERSION shareable

https://github.com/ruby/mutex_m/commit/a839e29d04
This commit is contained in:
rm155 2021-08-05 21:14:36 -04:00 committed by Hiroshi SHIBATA
parent 553f234a07
commit d09cb64ae5

View file

@ -41,6 +41,7 @@
module Mutex_m module Mutex_m
VERSION = "0.1.1" VERSION = "0.1.1"
Ractor.make_shareable(VERSION) if defined?(Ractor)
def Mutex_m.define_aliases(cl) # :nodoc: def Mutex_m.define_aliases(cl) # :nodoc:
cl.module_eval %q{ cl.module_eval %q{