Sha256: add6e26ca268557c93bc5fb5a6ae938c1b30f1c7d5e5cdcb9f0de029e810c5fb
Contents?: true
Size: 910 Bytes
Versions: 4
Compression:
Stored size: 910 Bytes
Contents
module VagrantPlugins module CommandServe class Mappers module Internal class Graph class Vertex # Vertex that represents an output of # a method class Output < Vertex attr_reader :type def initialize(type:) @type = type end # When an output Vertex is called, # we simply set the value for use def call(arg) @value = arg end def to_s "<Vertex:Output type=#{type} hash=#{hash_code}>" end def hash_code "Output:#{type}" end def inspect "<#{self.class.name} type=#{type} value=#{value} hash=#{hash_code}>" end end end end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems