We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17cadc9 commit dc91e2eCopy full SHA for dc91e2e
1 file changed
lib/braintrust/contrib/rails/engine.rb
@@ -38,7 +38,7 @@ def self.eval_service
38
# Support the explicit `|config|` style used by this integration while
39
# still delegating zero-arity DSL blocks to Rails' native implementation.
40
def self.configure(&block)
41
- return super(&block) if block&.arity == 0
+ return super if block&.arity == 0
42
yield config if block
43
end
44
0 commit comments