We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd6d129 commit a924fcaCopy full SHA for a924fca
README.adoc
@@ -564,6 +564,30 @@ some_method
564
some_method
565
----
566
567
+=== Empty Lines around Module Inclusion [[empty-lines-around-module-inclusion]]
568
+
569
+Use empty lines around module inclusion methods (`extend`, `include` and `prepend`).
570
571
+[source,ruby]
572
+----
573
+# bad
574
+class Foo
575
+ extend SomeModule
576
+ include AnotherModule
577
+ prepend YetAnotherModule
578
+ def foo; end
579
+end
580
581
+# good
582
583
584
585
586
587
588
589
590
591
=== Empty Lines around Attribute Accessor [[empty-lines-around-attribute-accessor]]
592
593
Use empty lines around attribute accessor.
0 commit comments