rspec/rules/S1444/flex/rule.adoc

37 lines
540 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
----
public class Greeter {
public static var foo:Foo = new Foo(...);
...
}
----
== Compliant Solution
----
public class Greeter {
public static const FOO:Foo = new Foo(...);
...
}
----
include::../see.adoc[]
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[]