5 ms·
No: > rubocop -D foo.rb Inspecting 1 file C Offenses: foo.rb:1:3: C: Style/AndOr: Use || instead of or. a or b ^^
by lloeki 10y ago
No:
> rubocop -D foo.rb
Inspecting 1 file
C
Offenses:
foo.rb:1:3: C: Style/AndOr: Use || instead of or.
a or b
^^
1 file inspected, 1 offense detected