Class: DockerfileRB::Label
- Inherits:
-
Object
- Object
- DockerfileRB::Label
- Defined in:
- lib/dockerfile-rb/label.rb
Instance Attribute Summary collapse
-
#pairs ⇒ Object
readonly
Returns the value of attribute pairs.
Instance Method Summary collapse
-
#initialize(pairs) ⇒ Label
constructor
A new instance of Label.
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
#pairs ⇒ Object (readonly)
Returns the value of attribute pairs.
3 4 5 |
# File 'lib/dockerfile-rb/label.rb', line 3 def pairs @pairs end |