diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-21 14:02:00 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-21 14:02:00 +0000 |
commit | bca2cdcc0b1d4630fd1cb36ecb5b8dc57cdd8e41 (patch) | |
tree | 9bdcb3f2f5cf63fbedcf4dfdea01f5579e4053a2 /lib/mutex_m.rb | |
parent | 27295e94f244d204ff61316a2b6f732c19d2127d (diff) | |
download | ruby-bca2cdcc0b1d4630fd1cb36ecb5b8dc57cdd8e41.tar.gz |
lib/mutex_m.rb: fix example code in documentation
* lib/mutex_m.rb: [DOC] fix invalid example code to make it
syntax highlighted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mutex_m.rb')
-rw-r--r-- | lib/mutex_m.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mutex_m.rb b/lib/mutex_m.rb index 555331edcc..dd47934bea 100644 --- a/lib/mutex_m.rb +++ b/lib/mutex_m.rb @@ -25,12 +25,12 @@ # obj.extend Mutex_m # # Or mixin Mutex_m into your module to your class inherit Mutex instance -# methods ---remember to call super() in your class initialize method. +# methods --- remember to call super() in your class initialize method. # # class Foo # include Mutex_m -# def initialize ... -# ... +# def initialize +# # ... # super() # end # # ... |