We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f7c09 commit 622fbddCopy full SHA for 622fbdd
README.adoc
@@ -255,6 +255,19 @@ puts 'bar'
255
puts 'foo', 'bar' # this applies to puts in particular
256
----
257
258
+=== Operator Method Call
259
+
260
+Avoid dot where not required for operator method calls.
261
262
+[source,ruby]
263
+----
264
+# bad
265
+num.+ 42
266
267
+# good
268
+num + 42
269
270
271
=== Spaces and Operators [[spaces-operators]]
272
273
Use spaces around operators, after commas, colons and semicolons.
0 commit comments