lib/refinements/ios.rb in refinements-11.1.2 vs lib/refinements/ios.rb in refinements-11.1.3

- old
+ new

@@ -26,9 +26,11 @@ reopen other yield self reopen backup end - def squelch(&) = self.class.void.then { |void| redirect(void, &) } + # rubocop:todo Naming/BlockForwarding + def squelch(&block) = self.class.void.then { |void| redirect(void, &block) } + # rubocop:enable Naming/BlockForwarding end end end