lib/mutex_m.rb in mutex_m-0.1.0 vs lib/mutex_m.rb in mutex_m-0.1.1
- old
+ new
@@ -38,11 +38,11 @@
# obj = Foo.new
# # this obj can be handled like Mutex
#
module Mutex_m
- VERSION = "0.1.0"
+ VERSION = "0.1.1"
def Mutex_m.define_aliases(cl) # :nodoc:
cl.module_eval %q{
alias locked? mu_locked?
alias lock mu_lock
@@ -111,6 +111,7 @@
def initialize(*args) # :nodoc:
mu_initialize
super
end
+ ruby2_keywords(:initialize) if respond_to?(:ruby2_keywords, true)
end