Skip to content

Commit 5c43279

Browse files
committed
[rubocop] disable Metrics/AbcSize in Rule#each for now
1 parent 209b0a8 commit 5c43279

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/dry/validation/rule.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ def validate(*macros, &block)
7676
# @return [Rule]
7777
#
7878
# @api public
79+
#
80+
# rubocop:disable Metrics/AbcSize
7981
def each(*macros, &block)
8082
root = keys[0]
8183
macros = parse_macros(*macros)
@@ -99,6 +101,7 @@ def each(*macros, &block)
99101

100102
self
101103
end
104+
# rubocop:enable Metrics/AbcSize
102105

103106
# Return a nice string representation
104107
#

0 commit comments

Comments
 (0)