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