Skip to content

Commit c5bad1c

Browse files
committed
Add comment about rule
[skip ci]
1 parent e0492a0 commit c5bad1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ Style/PercentLiteralDelimiters:
264264
'%W': '[]' # array of double-quoted strings
265265
'%x': () # a shell command as a string
266266

267+
# On 1.8 `proc` was `lambda`, so we used `Proc.new` to ensure we got real procs
268+
# on all supported versions.
269+
# http://batsov.com/articles/2014/02/04/the-elements-of-style-in-ruby-number-12-proc-vs-proc-dot-new/
267270
Style/Proc:
268271
Enabled: false
269272

0 commit comments

Comments
 (0)