Skip to content

Commit

Permalink
Fix RuboCop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Aug 7, 2023
1 parent 6c77504 commit 82e5774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dry/configurable/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def initialize(**options, &block)
# @see ClassMethods.setting
# @api private
# @return Setting
def setting(name, **options, &block) # rubocop:disable Metrics/AbcSize, Metrics/PerceivedComplexity
def setting(name, **options, &block)
unless VALID_NAME.match?(name.to_s)
raise ArgumentError, "#{name} is not a valid setting name"
end
Expand Down

0 comments on commit 82e5774

Please sign in to comment.