Class: ConcurrentPipeline::Stores::Yaml::History
- Inherits:
-
Object
- Object
- ConcurrentPipeline::Stores::Yaml::History
- Defined in:
- lib/concurrent_pipeline/stores/yaml/history.rb
Defined Under Namespace
Classes: Version
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#registry ⇒ Object
readonly
Returns the value of attribute registry.
Instance Method Summary collapse
-
#initialize(registry:, path:) ⇒ History
constructor
A new instance of History.
- #versions ⇒ Object
Constructor Details
#initialize(registry:, path:) ⇒ History
Returns a new instance of History.
35 36 37 38 |
# File 'lib/concurrent_pipeline/stores/yaml/history.rb', line 35 def initialize(registry:, path:) @registry = registry @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
34 35 36 |
# File 'lib/concurrent_pipeline/stores/yaml/history.rb', line 34 def path @path end |
#registry ⇒ Object (readonly)
Returns the value of attribute registry.
34 35 36 |
# File 'lib/concurrent_pipeline/stores/yaml/history.rb', line 34 def registry @registry end |