Class: Lich::DependencyRecovery::Plan
- Inherits:
-
Struct
- Object
- Struct
- Lich::DependencyRecovery::Plan
- Defined in:
- documented/dependency_recovery.rb
Overview
A validated, manifest-derived set of units. Planning intentionally fetches no gem artifacts, so callers can obtain user consent before an installation changes the runtime.
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#units ⇒ Object
Returns the value of attribute units.
Instance Method Summary collapse
-
#success? ⇒ Boolean
Whether the requested units are approved and valid.
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
83 84 85 |
# File 'documented/dependency_recovery.rb', line 83 def error @error end |
#units ⇒ Object
Returns the value of attribute units
83 84 85 |
# File 'documented/dependency_recovery.rb', line 83 def units @units end |
Instance Method Details
#success? ⇒ Boolean
Returns whether the requested units are approved and valid.
85 86 87 |
# File 'documented/dependency_recovery.rb', line 85 def success? error.nil? end |