[rubygems/rubygems] Remove extension 'double pipe equals' assigment since is not needed anymore

https://github.com/rubygems/rubygems/commit/930de86a24
This commit is contained in:
bronzdoc 2019-07-28 08:06:01 -06:00 коммит произвёл Hiroshi SHIBATA
Родитель b73ad4999a
Коммит 5824981d98
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F9CF13417264FAC2
1 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -151,19 +151,6 @@ EOF
def build_extension(extension, dest_path) # :nodoc:
results = []
# FIXME: Determine if this line is necessary and, if so, why.
# Notes:
# 1. As far as I can tell, this method is only called by +build_extensions+.
# 2. The existence of this line implies +extension+ is, or previously was,
# sometimes +false+ or +nil+.
# 3. #1 and #2 combined suggests, but does not confirm, that
# +@specs.extensions+ sometimes contained +false+ or +nil+ values.
# 4. Nothing seems to explicitly handle +extension+ being empty,
# which makes me wonder both what it should do and what it does.
#
# - @duckinator
extension ||= '' # I wish I knew why this line existed
builder = builder_for(extension)
extension_dir =