class DockerImageMap::ImageSet
Attributes
images[R]
Public Class Methods
new()
click to toggle source
# File lib/docker_image_map/image_set.rb, line 7 def initialize @images = {} end
Public Instance Methods
[](id)
click to toggle source
# File lib/docker_image_map/image_set.rb, line 13 def [](id) @images[id] ||= ImageInfo.new(id) end
roots()
click to toggle source
# File lib/docker_image_map/image_set.rb, line 17 def roots @images.values.select { |i| i.parent.nil? } end