Allow sets used within configuration to be dumped as an array
This commit is contained in:
parent
c789fbf440
commit
2ad8abd57c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue