DEV: Make rubocop happy.

This commit is contained in:
Guo Xiang Tan 2020-08-06 10:08:40 +08:00
parent ee5d8fba0c
commit 06ef87da51
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class Search
affix = part.length > radius ? omission : "" affix = part.length > radius ? omission : ""
part = part.public_send(part_position == :first ? :last : :first, radius) part = part.public_send(part_position == :first ? :last : :first, radius)
part = part.join(separator) if separator != "" part = part.join(separator) if separator != ""
return affix, part [affix, part]
end end
end end