From e38c6e008a7df2422a5e4a6c1c9a1d0065cf1603 Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 1 Apr 2024 16:34:23 +0200 Subject: [PATCH] Fix rubocop --- lib/grape/validations.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/grape/validations.rb b/lib/grape/validations.rb index 5cf7d83c89..9ae22ae6a1 100644 --- a/lib/grape/validations.rb +++ b/lib/grape/validations.rb @@ -3,6 +3,7 @@ module Grape module Validations module_function + def validators @validators ||= {} end