rspec/rules/S1444/flex/rule.adoc

29 lines
442 B
Plaintext
Raw Normal View History

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[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]