Class: VSM::Meta::Tools::Base
- Inherits:
-
ToolCapsule
- Object
- ToolCapsule
- VSM::Meta::Tools::Base
- Defined in:
- lib/vsm/meta/tools.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#draft_store ⇒ Object
readonly
Returns the value of attribute draft_store.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
-
#snapshot_cache ⇒ Object
readonly
Returns the value of attribute snapshot_cache.
Attributes inherited from ToolCapsule
Instance Method Summary collapse
- #execution_mode ⇒ Object
-
#initialize(root:, snapshot_cache:, draft_store: nil) ⇒ Base
constructor
A new instance of Base.
Methods included from ActsAsTool
Constructor Details
#initialize(root:, snapshot_cache:, draft_store: nil) ⇒ Base
17 18 19 20 21 |
# File 'lib/vsm/meta/tools.rb', line 17 def initialize(root:, snapshot_cache:, draft_store: nil) @root = root @snapshot_cache = snapshot_cache @draft_store = draft_store end |
Instance Attribute Details
#draft_store ⇒ Object (readonly)
Returns the value of attribute draft_store.
15 16 17 |
# File 'lib/vsm/meta/tools.rb', line 15 def draft_store @draft_store end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
15 16 17 |
# File 'lib/vsm/meta/tools.rb', line 15 def root @root end |
#snapshot_cache ⇒ Object (readonly)
Returns the value of attribute snapshot_cache.
15 16 17 |
# File 'lib/vsm/meta/tools.rb', line 15 def snapshot_cache @snapshot_cache end |
Instance Method Details
#execution_mode ⇒ Object
23 |
# File 'lib/vsm/meta/tools.rb', line 23 def execution_mode = :fiber |