Skip to content

Commit

Permalink
Remove invalid document of AnnotateRoutes.rewrite_contents (ctran#727)
Browse files Browse the repository at this point in the history
I removed invalid document of AnnotateRoutes.rewrite_contents.

I will add valid documents in YARD format in another PR.
  • Loading branch information
nard-tech authored and vfonic committed May 8, 2020
1 parent a859268 commit 8e46ed4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/annotate/annotate_routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ def strip_on_removal(content, header_position)
content
end

# @param [String, Array<String>]
def rewrite_contents(existing_text, new_text)
if existing_text == new_text
puts "#{routes_file} unchanged."
Expand Down

0 comments on commit 8e46ed4

Please sign in to comment.