mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Remove redundant empty comment lines
This commit is contained in:
parent
629e65127d
commit
748cab29b4
2 changed files with 0 additions and 3 deletions
|
@ -111,7 +111,6 @@ class Ameba::Config
|
||||||
# config.formatter = custom_formatter
|
# config.formatter = custom_formatter
|
||||||
# config.formatter
|
# config.formatter
|
||||||
# ```
|
# ```
|
||||||
#
|
|
||||||
property formatter : Formatter::BaseFormatter do
|
property formatter : Formatter::BaseFormatter do
|
||||||
Formatter::DotFormatter.new
|
Formatter::DotFormatter.new
|
||||||
end
|
end
|
||||||
|
|
|
@ -46,7 +46,6 @@ module Ameba
|
||||||
# source = Ameba::Source.new "a = 1\nb = 2", path
|
# source = Ameba::Source.new "a = 1\nb = 2", path
|
||||||
# source.lines # => ["a = 1", "b = 2"]
|
# source.lines # => ["a = 1", "b = 2"]
|
||||||
# ```
|
# ```
|
||||||
#
|
|
||||||
getter lines : Array(String) { code.split('\n') }
|
getter lines : Array(String) { code.split('\n') }
|
||||||
|
|
||||||
# Returns AST nodes constructed by `Crystal::Parser`.
|
# Returns AST nodes constructed by `Crystal::Parser`.
|
||||||
|
@ -55,7 +54,6 @@ module Ameba
|
||||||
# source = Ameba::Source.new code, path
|
# source = Ameba::Source.new code, path
|
||||||
# source.ast
|
# source.ast
|
||||||
# ```
|
# ```
|
||||||
#
|
|
||||||
getter ast : Crystal::ASTNode do
|
getter ast : Crystal::ASTNode do
|
||||||
Crystal::Parser.new(code)
|
Crystal::Parser.new(code)
|
||||||
.tap(&.wants_doc = true)
|
.tap(&.wants_doc = true)
|
||||||
|
|
Loading…
Reference in a new issue