Class: DockerImageMap::ImageInfo
- Inherits:
-
Object
- Object
- DockerImageMap::ImageInfo
- Defined in:
- lib/docker_image_map/image_info.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
readonly
Returns the value of attribute children.
-
#date ⇒ Object
Returns the value of attribute date.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#size ⇒ Object
Returns the value of attribute size.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
Instance Method Summary collapse
-
#initialize(id) ⇒ ImageInfo
constructor
A new instance of ImageInfo.
Constructor Details
#initialize(id) ⇒ ImageInfo
Returns a new instance of ImageInfo.
7 8 9 10 11 |
# File 'lib/docker_image_map/image_info.rb', line 7 def initialize(id) @id = id = Set.new @children = [] end |
Instance Attribute Details
#children ⇒ Object (readonly)
Returns the value of attribute children.
17 18 19 |
# File 'lib/docker_image_map/image_info.rb', line 17 def children @children end |
#date ⇒ Object
Returns the value of attribute date.
15 16 17 |
# File 'lib/docker_image_map/image_info.rb', line 15 def date @date end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
13 14 15 |
# File 'lib/docker_image_map/image_info.rb', line 13 def id @id end |
#parent ⇒ Object
Returns the value of attribute parent.
16 17 18 |
# File 'lib/docker_image_map/image_info.rb', line 16 def parent @parent end |
#size ⇒ Object
Returns the value of attribute size.
14 15 16 |
# File 'lib/docker_image_map/image_info.rb', line 14 def size @size end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
18 19 20 |
# File 'lib/docker_image_map/image_info.rb', line 18 def end |