Skip to content

Commit

Permalink
lib/mutex_m.rb: fix example code in documentation
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
stomar committed Oct 21, 2018
1 parent 27295e9 commit bca2cdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/mutex_m.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
# # ...
Expand Down

0 comments on commit bca2cdc

Please sign in to comment.