Class: Capsium::Reactor::Mount::Entry
- Inherits:
-
Data
- Object
- Data
- Capsium::Reactor::Mount::Entry
- Defined in:
- lib/capsium/reactor/mount.rb,
sig/capsium/reactor/mount.rbs
Overview
A mount entry as accepted from the CLI or a JSON config file: "path" may be nil (the default is assigned on build), "source" is a package directory, .cap file or Package, "store" optionally overrides the global package store for this mount.
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#store ⇒ Object
readonly
Returns the value of attribute store.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path
24 25 26 |
# File 'lib/capsium/reactor/mount.rb', line 24 def path @path end |
#source ⇒ Object (readonly)
Returns the value of attribute source
24 25 26 |
# File 'lib/capsium/reactor/mount.rb', line 24 def source @source end |
#store ⇒ Object (readonly)
Returns the value of attribute store
24 25 26 |
# File 'lib/capsium/reactor/mount.rb', line 24 def store @store end |
Class Method Details
.new ⇒ void
21 |
# File 'sig/capsium/reactor/mount.rbs', line 21 def self.new: (path: String? path, source: (Package | String) source, store: (Package::Store | String)? store) -> void |
Instance Method Details
#with ⇒ Entry
29 |
# File 'sig/capsium/reactor/mount.rbs', line 29 def with: (?path: String? path, ?source: (Package | String) source, ?store: (Package::Store | String)? store) -> Entry |