rspec/rules/S108/ruby/rule.adoc

32 lines
493 B
Plaintext
Raw Normal View History

2023-06-15 19:03:19 +02:00
:example: ruby/code-example.adoc
2020-06-30 10:16:44 +02:00
include::../description.adoc[]
=== Exceptions
2020-06-30 10:16:44 +02:00
2023-06-15 19:03:19 +02:00
The rule ignores:
2021-02-02 15:02:10 +01:00
2023-06-15 19:03:19 +02:00
* code blocks that contain comments
* `while` loops
[source,ruby]
2020-06-30 10:16:44 +02:00
----
2023-06-15 19:03:19 +02:00
while @order.process_next; end # Compliant by exception
2020-06-30 10:16:44 +02:00
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]