Skip to content

Commit

Permalink
double star splat for ruby 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieujobin committed Oct 30, 2023
1 parent a6caeb8 commit c051cf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def initialize(validator_name, options)
end

def build
validator_class.new inner_options.merge(attributes: [:base])
validator_class.new **inner_options.merge(attributes: [:base])
end

private
Expand Down

0 comments on commit c051cf4

Please sign in to comment.