Class: Kumi::Core::Analyzer::Passes::DependencyResolverPass::DependencyEdge
- Inherits:
-
Object
- Object
- Kumi::Core::Analyzer::Passes::DependencyResolverPass::DependencyEdge
- Defined in:
- lib/kumi/core/analyzer/passes/dependency_resolver_pass.rb
Overview
Enhanced edge with conditional flag and cascade metadata
Instance Attribute Summary collapse
-
#cascade_owner ⇒ Object
readonly
Returns the value of attribute cascade_owner.
-
#conditional ⇒ Object
readonly
Returns the value of attribute conditional.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#via ⇒ Object
readonly
Returns the value of attribute via.
Instance Method Summary collapse
-
#initialize(to:, type:, via:, conditional: false, cascade_owner: nil) ⇒ DependencyEdge
constructor
A new instance of DependencyEdge.
Constructor Details
#initialize(to:, type:, via:, conditional: false, cascade_owner: nil) ⇒ DependencyEdge
Returns a new instance of DependencyEdge.
15 16 17 18 19 20 21 |
# File 'lib/kumi/core/analyzer/passes/dependency_resolver_pass.rb', line 15 def initialize(to:, type:, via:, conditional: false, cascade_owner: nil) @to = to @type = type @via = via @conditional = conditional @cascade_owner = cascade_owner end |
Instance Attribute Details
#cascade_owner ⇒ Object (readonly)
Returns the value of attribute cascade_owner.
13 14 15 |
# File 'lib/kumi/core/analyzer/passes/dependency_resolver_pass.rb', line 13 def cascade_owner @cascade_owner end |
#conditional ⇒ Object (readonly)
Returns the value of attribute conditional.
13 14 15 |
# File 'lib/kumi/core/analyzer/passes/dependency_resolver_pass.rb', line 13 def conditional @conditional end |
#to ⇒ Object (readonly)
Returns the value of attribute to.
13 14 15 |
# File 'lib/kumi/core/analyzer/passes/dependency_resolver_pass.rb', line 13 def to @to end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
13 14 15 |
# File 'lib/kumi/core/analyzer/passes/dependency_resolver_pass.rb', line 13 def type @type end |
#via ⇒ Object (readonly)
Returns the value of attribute via.
13 14 15 |
# File 'lib/kumi/core/analyzer/passes/dependency_resolver_pass.rb', line 13 def via @via end |