class DataMetaPii::RegVo

Registry Value Object - a wrap around the PII Key to attributes map

Attributes

keyVos[RW]

Public Class Methods

new(ver, vos) click to toggle source
Calls superclass method DataMetaPii::VersionedVo::new
# File lib/dataMetaPii.rb, line 180
def initialize(ver, vos)
    super(ver)
    @keyVos = vos
end

Public Instance Methods

to_tree_image(indent = '') click to toggle source

Builds a textual tree image for logging and/or console output

# File lib/dataMetaPii.rb, line 186
def to_tree_image(indent = '')
    next_ident = indent + DataMetaPii::INDENT
    %<#{@keyVos.keys.map{|k| @keyVos[k].to_tree_image(next_ident)}.join("\n")}>
end