Add unique vertex type for root

This commit is contained in:
Chris Roberts 2022-02-07 14:30:46 -08:00 committed by Paul Hinze
parent cd99ff6525
commit 2f0fdfc153
No known key found for this signature in database
GPG key ID: B69DEDF2D55501C0
2 changed files with 16 additions and 0 deletions

View file

@ -10,6 +10,7 @@ module VagrantPlugins
autoload :Method, Vagrant.source_root.join("plugins/commands/serve/mappers/internal/graph/vertex/method").to_s
autoload :NamedValue, Vagrant.source_root.join("plugins/commands/serve/mappers/internal/graph/vertex/named_value").to_s
autoload :Output, Vagrant.source_root.join("plugins/commands/serve/mappers/internal/graph/vertex/output").to_s
autoload :Root, Vagrant.source_root.join("plugins/commands/serve/mappers/internal/graph/vertex/root").to_s
autoload :Value, Vagrant.source_root.join("plugins/commands/serve/mappers/internal/graph/vertex/value").to_s
# @return [Object] value of vertex
attr_reader :value

View file

@ -0,0 +1,15 @@
module VagrantPlugins
module CommandServe
class Mappers
module Internal
class Graph
# Represents a root vertex within the graph
class Vertex
class Root < Vertex
end
end
end
end
end
end
end