summaryrefslogtreecommitdiff
path: root/ext/monitor/lib
diff options
context:
space:
mode:
authorMasataka Pocke Kuwabara <[email protected]>2020-07-11 16:01:05 +0900
committerJeremy Evans <[email protected]>2020-07-17 16:37:18 -0700
commit8d2333019abb1f8ad882dadf9096f81e9f427c6e ()
treeffe4a76e48d0c0de9ea1aa6a1711814909a2bc50 /ext/monitor/lib
parent1fb4e28002327c1224c3ed32783160b011f14747 (diff)
Fix MonitorMixin when the super's initialize has kwargs
Notes: Merged: https://.com/ruby/ruby/pull/3310
-rw-r--r--ext/monitor/lib/monitor.rb2
1 files changed, 1 insertions, 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)
super
mon_initialize
end