diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-19 00:07:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-19 00:07:25 +0000 |
commit | d371e3583e3b1e0692f92343017b62d2628190ff (patch) | |
tree | be82924ada754f8542f394d0a3d28e0a0b02a098 /lib/mutex_m.rb | |
parent | 1fae66fca28167ca0e25625091c5df49405b8023 (diff) |
* lib: revert r31635-r31638 and untabify with expand(1).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mutex_m.rb')
-rw-r--r-- | lib/mutex_m.rb | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/mutex_m.rb b/lib/mutex_m.rb index 3ff3bd1dcc..722754b8d5 100644 --- a/lib/mutex_m.rb +++ b/lib/mutex_m.rb @@ -1,26 +1,26 @@ # # mutex_m.rb - -# $Release Version: 3.0$ -# $Revision: 1.7 $ +# $Release Version: 3.0$ +# $Revision: 1.7 $ # Original from mutex.rb -# by Keiju ISHITSUKA(keiju@ishitsuka.com) +# by Keiju ISHITSUKA(keiju@ishitsuka.com) # modified by matz # patched by akira yamada # # -- # Usage: -# require "mutex_m.rb" -# obj = Object.new -# obj.extend Mutex_m -# ... -# extended object can be handled like Mutex +# require "mutex_m.rb" +# obj = Object.new +# obj.extend Mutex_m +# ... +# extended object can be handled like Mutex # or -# class Foo -# include Mutex_m -# ... -# end -# obj = Foo.new -# this obj can be handled like Mutex +# class Foo +# include Mutex_m +# ... +# end +# obj = Foo.new +# this obj can be handled like Mutex # require 'thread' @@ -52,7 +52,7 @@ module Mutex_m defined? unlock and defined? try_lock and defined? synchronize) - Mutex_m.define_aliases(singleton_class) + Mutex_m.define_aliases(singleton_class) end mu_initialize end |