Skip to content

Commit

Permalink
Work around warning about unused block argument
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Jan 21, 2025
1 parent e5d1ef5 commit b058f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dry/validation/macros.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def self.[](name)
# @return [Macros]
#
# @api public
def self.register(name, ...)
container.register(name, ...)
def self.register(...)
container.register(...)
self
end

Expand Down

0 comments on commit b058f0a

Please sign in to comment.