Class: GemsToPatchReconciler

Inherits:
Object
  • Object
show all
Defined in:
lib/bundler/patch/gems_to_patch_reconciler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_patchesObject (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