mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix MonitorMixin when the super's initialize has kwargs
This commit is contained in:
parent
1fb4e28002
commit
8d2333019a
Notes:
git
2020-07-18 08:37:58 +09:00
2 changed files with 17 additions and 1 deletions
|
@ -220,7 +220,7 @@ module MonitorMixin
|
|||
# Use <tt>extend MonitorMixin</tt> or <tt>include MonitorMixin</tt> instead
|
||||
# of this constructor. Have look at the examples above to understand how to
|
||||
# use this module.
|
||||
def initialize(*args)
|
||||
def initialize(...)
|
||||
super
|
||||
mon_initialize
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue