Skip to content

Commit 3f91fb0

Browse files
committed
Add accidentally removed variable
1 parent 1f9eb24 commit 3f91fb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/rom/sql/dsl.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ def initialize(schema)
2828
end
2929

3030
# @api private
31-
def call(&)
31+
def call(&block)
3232
arg, kwargs = select_relations(block.parameters)
3333

3434
if kwargs.nil?
35-
result = instance_exec(arg, &)
35+
result = instance_exec(arg, &block)
3636
else
37-
result = instance_exec(**kwargs, &)
37+
result = instance_exec(**kwargs, &block)
3838
end
3939

4040
if result.is_a?(::Array)

0 commit comments

Comments
 (0)