Skip to content

Commit

Permalink
rubocop -A
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Jan 1, 2025
1 parent 3728eb9 commit ab17547
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ else
end

group :benchmarks do
gem "activesupport"
gem "active_attr"
gem "activesupport"
gem "anima"
gem "attr_extras"
gem "benchmark-ips", "~> 2.5"
Expand Down
2 changes: 1 addition & 1 deletion lib/dry/initializer/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def [](undefined: true, **)
# @yield proc defining params and options
def define(procedure = nil, &block)
config = Config.new(null: null)
config.instance_exec(&(procedure || block))
config.instance_exec(&procedure || block)
config.mixin.include Mixin::Root
config.mixin
end
Expand Down

0 comments on commit ab17547

Please sign in to comment.