Usage
Extend an object and use it like a Mutex object:
require "mutex_m.rb" obj = Object.new obj.extend Mutex_m
…
Or, include Mutex_m in a class to have its instances behave like a Mutex object:
class Foo include Mutex_m
…
end obj = Foo.new
| Public Methods | |
|---|---|
| append_ |
|
| define_ |
|
| extend_ |
|
| mu_ |
|
| mu_ |
|
| mu_ |
|
| mu_ |
locking |
| mu_ |
|
| mu_ |
|
| new | |
| Private Methods | |
|---|---|
| mu_ |
|
<code/>and<pre/>for code samples.