Class: GemsToPatchReconciler
- Inherits:
-
Object
- Object
- GemsToPatchReconciler
- Defined in:
- lib/bundler/patch/gems_to_patch_reconciler.rb
Instance Attribute Summary collapse
-
#reconciled_patches ⇒ Object
readonly
Returns the value of attribute reconciled_patches.
Instance Method Summary collapse
-
#initialize(vulnerable_patches, requested_patches = []) ⇒ GemsToPatchReconciler
constructor
A new instance of GemsToPatchReconciler.
Constructor Details
#initialize(vulnerable_patches, requested_patches = []) ⇒ GemsToPatchReconciler
Returns a new instance of GemsToPatchReconciler.
4 5 6 7 8 |
# File 'lib/bundler/patch/gems_to_patch_reconciler.rb', line 4 def initialize(vulnerable_patches, requested_patches=[]) @vulnerable_patches = vulnerable_patches @requested_patches = requested_patches reconcile end |
Instance Attribute Details
#reconciled_patches ⇒ Object (readonly)
Returns the value of attribute reconciled_patches.
2 3 4 |
# File 'lib/bundler/patch/gems_to_patch_reconciler.rb', line 2 def reconciled_patches @reconciled_patches end |