DEV: Make rubocop happy.
This commit is contained in:
parent
ee5d8fba0c
commit
06ef87da51
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue