class Puppet::Graph::SimpleGraph::VertexWrapper

Stub class to allow graphs to be represented in YAML using the old (version 2.6) format.

Attributes

adjacencies[R]
vertex[R]

Public Instance Methods

inspect() click to toggle source
# File lib/puppet/graph/simple_graph.rb, line 497
def inspect
  { :@adjacencies => @adjacencies, :@vertex => @vertex.to_s }.inspect
end

Public Class Methods

new(vertex, adjacencies) click to toggle source
# File lib/puppet/graph/simple_graph.rb, line 492
def initialize(vertex, adjacencies)
  @vertex = vertex
  @adjacencies = adjacencies
end