Fix rubocop warnings
This commit is contained in:
parent
d7f92e163e
commit
6f9b0c2f6b
2 changed files with 4 additions and 4 deletions
|
@ -37,7 +37,7 @@ module RichText
|
|||
link_size += link.content.length
|
||||
end
|
||||
|
||||
link_proportion = link_size.to_f / doc.content.length.to_f
|
||||
link_proportion = link_size.to_f / doc.content.length
|
||||
end
|
||||
|
||||
spammy_phrases = SPAMMY_PHRASES.count do |phrase|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue