module RuboCop::AST::NodePattern::MethodDefiner

def wrapping_block(method_name, **defaults)

This method minimizes the closure for our method
def wrapping_block(method_name, **defaults)
  proc do |*args, **values|
    send method_name, *args, **defaults, **values
  end
end