Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce258a1

Browse files
authored
Merge pull request #925 from ydakuka/fix-error-proc-call
Fix error in Proc Call
2 parents 6b6b59c + 18b761a commit ce258a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2781,7 +2781,7 @@ Prefer `proc.call()` over `proc[]` or `proc.()` for both lambdas and procs.
27812781
l = ->(v) { puts v }
27822782
l[1]
27832783
2784-
# good - most compact form, but might be confusing for newcomers to Ruby
2784+
# bad - most compact form, but might be confusing for newcomers to Ruby
27852785
l = ->(v) { puts v }
27862786
l.(1)
27872787

0 commit comments

Comments
 (0)