Skip to content

Instantly share code, notes, and snippets.

@enebo
Created April 26, 2022 14:43
Show Gist options
  • Save enebo/279e90b807b73e8f48096975270a4827 to your computer and use it in GitHub Desktop.
Save enebo/279e90b807b73e8f48096975270a4827 to your computer and use it in GitHub Desktop.
diff --git a/lib/ruby/stdlib/monitor.rb b/lib/ruby/stdlib/monitor.rb
index 26b976b860a..a6661cbf98f 100644
--- a/lib/ruby/stdlib/monitor.rb
+++ b/lib/ruby/stdlib/monitor.rb
@@ -226,7 +226,7 @@ module MonitorMixin
# of this constructor. Have look at the examples above to understand how to
# use this module.
def initialize(...)
- super
+ super(...)
mon_initialize
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment