Allow sets used within configuration to be dumped as an array

This commit is contained in:
Chris Roberts 2019-09-09 20:32:08 -07:00
parent c789fbf440
commit 2ad8abd57c
1 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,12 @@ module Vagrant
@__finalized = true
end
end
class Set < ::Set
def to_json(*args)
self.to_a.to_json(*args)
end
end
end
end
end