lib/refinements/io.rb in refinements-12.0.1 vs lib/refinements/io.rb in refinements-12.1.0
- old
+ new
@@ -26,11 +26,9 @@
reopen other
yield self
reopen backup
end
- # rubocop:todo Naming/BlockForwarding
def squelch(&block) = self.class.void.then { |void| redirect(void, &block) }
- # rubocop:enable Naming/BlockForwarding
end
end
end