Class: DockerfileRB::Env

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pairsObject (readonly)

Returns the value of attribute pairs.



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

def pairs
  @pairs
end