diff --git a/src/ameba/config.cr b/src/ameba/config.cr index 735ba09a..c1b16c1a 100644 --- a/src/ameba/config.cr +++ b/src/ameba/config.cr @@ -111,7 +111,6 @@ class Ameba::Config # config.formatter = custom_formatter # config.formatter # ``` - # property formatter : Formatter::BaseFormatter do Formatter::DotFormatter.new end diff --git a/src/ameba/source.cr b/src/ameba/source.cr index 787874d3..3aa02746 100644 --- a/src/ameba/source.cr +++ b/src/ameba/source.cr @@ -46,7 +46,6 @@ module Ameba # source = Ameba::Source.new "a = 1\nb = 2", path # source.lines # => ["a = 1", "b = 2"] # ``` - # getter lines : Array(String) { code.split('\n') } # Returns AST nodes constructed by `Crystal::Parser`. @@ -55,7 +54,6 @@ module Ameba # source = Ameba::Source.new code, path # source.ast # ``` - # getter ast : Crystal::ASTNode do Crystal::Parser.new(code) .tap(&.wants_doc = true)