Class: DockerfileRB::Label

Inherits:
Object
  • Object
show all
Defined in:
lib/dockerfile-rb/label.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pairs) ⇒ Label

Returns a new instance of Label.



4
5
6
# File 'lib/dockerfile-rb/label.rb', line 4

def initialize(pairs)
  @pairs = pairs
end

Instance Attribute Details

#pairsObject (readonly)

Returns the value of attribute pairs.



3
4
5
# File 'lib/dockerfile-rb/label.rb', line 3

def pairs
  @pairs
end