Class: Matrixeval::Container

Inherits:
Object
  • Object
show all
Defined in:
lib/matrixeval/container.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Container

Returns a new instance of Container.



6
7
8
9
10
# File 'lib/matrixeval/container.rb', line 6

def initialize(options)
  options ||= {}
  @image = options["image"]
  @env = options["env"] || {}
end

Instance Attribute Details

#envObject (readonly)

Returns the value of attribute env.



4
5
6
# File 'lib/matrixeval/container.rb', line 4

def env
  @env
end

#imageObject (readonly)

Returns the value of attribute image.



4
5
6
# File 'lib/matrixeval/container.rb', line 4

def image
  @image
end