[ruby/ostruct] Remove unused condition

This commit is contained in:
Marc-Andre Lafortune 2020-09-26 01:53:36 -04:00 коммит произвёл Marc-André Lafortune
Родитель b36a45c05c
Коммит 152ba86b6b
1 изменённых файлов: 0 добавлений и 2 удалений

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

@ -239,8 +239,6 @@ class OpenStruct
end
set_ostruct_member_value!(mname, args[0])
elsif len == 0
elsif @table.key?(mid)
raise! ArgumentError, "wrong number of arguments (given #{len}, expected 0)"
else
begin
super