DEV: Apply syntax_tree formatting to lib/*

This commit is contained in:
David Taylor
2023-01-09 12:10:19 +00:00
parent b0fda61a8e
commit 6417173082
507 changed files with 16550 additions and 12627 deletions

View File

@ -2,7 +2,6 @@
# Helps create links using markdown (where references are at the bottom)
class MarkdownLinker
def initialize(base_url)
@base_url = base_url
@index = 1
@ -19,11 +18,8 @@ class MarkdownLinker
def references
result = +""
(@rendered..@index - 1).each do |i|
result << "[#{i}]: #{@markdown_links[i]}\n"
end
(@rendered..@index - 1).each { |i| result << "[#{i}]: #{@markdown_links[i]}\n" }
@rendered = @index
result
end
end