diff options
author | Masataka Pocke Kuwabara <[email protected]> | 2020-07-11 16:01:05 +0900 |
---|---|---|
committer | Jeremy Evans <[email protected]> | 2020-07-17 16:37:18 -0700 |
commit | 8d2333019abb1f8ad882dadf9096f81e9f427c6e (patch) | |
tree | ffe4a76e48d0c0de9ea1aa6a1711814909a2bc50 /ext/monitor/lib | |
parent | 1fb4e28002327c1224c3ed32783160b011f14747 (diff) |
Fix MonitorMixin when the super's initialize has kwargs
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3310
Diffstat (limited to 'ext/monitor/lib')
-rw-r--r-- | ext/monitor/lib/monitor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/monitor/lib/monitor.rb b/ext/monitor/lib/monitor.rb index 63a54fe731..08a3a31ef0 100644 --- a/ext/monitor/lib/monitor.rb +++ b/ext/monitor/lib/monitor.rb @@ -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 |