Project

General

Profile

Bug #13598 ยป mutex_m.doc.patch

patch to improve the mutex_m doc - mala (stefano frabetti), 05/25/2017 08:57 AM

View differences:

mutex_m.rb 2017-05-25 10:40:27.936388023 +0200
# obj.extend Mutex_m
#
# Or mixin Mutex_m into your module to your class inherit Mutex instance
# methods.
# methods ---remember to call super() in your class initialize method.
#
# class Foo
# include Mutex_m
# def initialize ...
# ...
# super()
# end
# # ...
# end
# obj = Foo.new
    (1-1/1)