Skip to content

Commit a6a0532

Browse files
committed
change back from anonymous block param
ruby 3.3 does not like this
1 parent 253be3c commit a6a0532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/interactify/dsl/if_klass.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def attach_inspect
6262
end
6363
end
6464

65-
def attach_method(name, &)
65+
def attach_method(name, &block)
6666
attach do |klass, _this|
67-
klass.define_method(name, &)
67+
klass.define_method(name, &block)
6868
end
6969
end
7070

0 commit comments

Comments
 (0)