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