Store options value as hash

This commit is contained in:
Chris Roberts 2022-02-15 14:58:44 -08:00 committed by Paul Hinze
parent f507a3d7ff
commit c00eb5a5a8
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -9,7 +9,7 @@ module VagrantPlugins
raise TypeError,
"Expected type `Hash' but received `#{value.class}'"
end
super(value: OpenStruct.new(value))
super(value: OpenStruct.new(value).to_h)
end
end
end