diff --git a/lib/singed.rb b/lib/singed.rb index 17d4b08..34cdd2d 100644 --- a/lib/singed.rb +++ b/lib/singed.rb @@ -64,7 +64,7 @@ def profile(label = "flamegraph", profiler: nil, open: true, announce_io: $stdou profiler_klass = profiler_klass(profiler) fg = profiler_klass.new( label: label, - announce_io: io, + announce_io: announce_io, **profiler_options )