rspec/rules/S101/ruby/rule.adoc

28 lines
390 B
Plaintext
Raw Normal View History

2020-06-30 10:16:44 +02:00
include::../description.adoc[]
== Noncompliant Code Example
2021-01-27 13:42:22 +01:00
With default provided regular expression ``++^[A-Z][a-zA-Z0-9]*$++``:
2020-06-30 10:16:44 +02:00
----
class my_class
...
end
----
== Compliant Solution
----
class MyClass
...
end
----
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]