[ruby/ostruct] Remove unused condition
This commit is contained in:
parent
b36a45c05c
commit
152ba86b6b
Notes:
git
2020-10-01 07:11:50 +09:00
@ -239,8 +239,6 @@ class OpenStruct
|
|||||||
end
|
end
|
||||||
set_ostruct_member_value!(mname, args[0])
|
set_ostruct_member_value!(mname, args[0])
|
||||||
elsif len == 0
|
elsif len == 0
|
||||||
elsif @table.key?(mid)
|
|
||||||
raise! ArgumentError, "wrong number of arguments (given #{len}, expected 0)"
|
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
super
|
super
|
||||||
|
Loading…
x
Reference in New Issue
Block a user