[ruby/mutex_m] Make VERSION shareable
https://github.com/ruby/mutex_m/commit/a839e29d04
This commit is contained in:
parent
553f234a07
commit
d09cb64ae5
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user