aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mutex_m.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mutex_m.rb')
-rw-r--r--lib/mutex_m.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mutex_m.rb b/lib/mutex_m.rb
index 21d828523e..081bb788e4 100644
--- a/lib/mutex_m.rb
+++ b/lib/mutex_m.rb
@@ -52,7 +52,7 @@ module Mutex_m
defined? unlock and
defined? try_lock and
defined? synchronize)
- Mutex_m.define_aliases(class<<self;self;end)
+ Mutex_m.define_aliases(singleton_class)
end
mu_initialize
end