struct Ameba::Rules::TrailingBlankLines

Overview

A rule that disallows trailing blank lines at the end of the source file.

Defined in:

ameba/rules/trailing_blank_lines.cr

Instance Method Summary

Instance methods inherited from struct Ameba::Rule

catch(source : Source) catch, initialize initialize, name name, test(source : Source, node : Crystal::ASTNode)
test(source : Source)
test

Constructor methods inherited from struct Ameba::Rule

new new

Class methods inherited from struct Ameba::Rule

rules rules

Instance Method Detail

def test(source) #

[View source]