Class: Matrixeval::Container
- Inherits:
-
Object
- Object
- Matrixeval::Container
- Defined in:
- lib/matrixeval/container.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#image ⇒ Object
readonly
Returns the value of attribute image.
Instance Method Summary collapse
-
#initialize(options) ⇒ Container
constructor
A new instance of Container.
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() ||= {} @image = ["image"] @env = ["env"] || {} end |
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
4 5 6 |
# File 'lib/matrixeval/container.rb', line 4 def env @env end |
#image ⇒ Object (readonly)
Returns the value of attribute image.
4 5 6 |
# File 'lib/matrixeval/container.rb', line 4 def image @image end |