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.
15 16 17 18 |
# File 'lib/daytona/common/image.rb', line 15 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.
11 12 13 |
# File 'lib/daytona/common/image.rb', line 11 def archive_path @archive_path end |
#source_path ⇒ Object (readonly)
Returns the value of attribute source_path.
10 11 12 |
# File 'lib/daytona/common/image.rb', line 10 def source_path @source_path end |