Skip to content

Commit 07bdc8d

Browse files
committed
Fix lambda style
1 parent abe51a1 commit 07bdc8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/proc/parameters_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
end
3232

3333
it "regards named parameters in lambda as optional if lambda: false keyword used" do
34-
lambda {|x| }.parameters(lambda: false).first.first.should == :opt
34+
-> x { }.parameters(lambda: false).first.first.should == :opt
3535
end
3636
end
3737

0 commit comments

Comments
 (0)