Class: Daytona::Context
- Inherits:
-
Object
- Object
- Daytona::Context
- Defined in:
- lib/daytona/common/image.rb
Instance Attribute Summary collapse
-
#archive_path ⇒ Object
readonly
Returns the value of attribute archive_path.
-
#source_path ⇒ Object
readonly
Returns the value of attribute source_path.
Instance Method Summary collapse
-
#initialize(source_path:, archive_path: nil) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(source_path:, archive_path: nil) ⇒ Context
Returns a new instance of Context.
18 19 20 21 |
# File 'lib/daytona/common/image.rb', line 18 def initialize(source_path:, archive_path: nil) @source_path = source_path @archive_path = archive_path end |
Instance Attribute Details
#archive_path ⇒ Object (readonly)
Returns the value of attribute archive_path.
14 15 16 |
# File 'lib/daytona/common/image.rb', line 14 def archive_path @archive_path end |
#source_path ⇒ Object (readonly)
Returns the value of attribute source_path.
13 14 15 |
# File 'lib/daytona/common/image.rb', line 13 def source_path @source_path end |