Class: Ehbrs::Tools::Vg::Patches::ApplierFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/ehbrs/tools/vg/patches/applier_factory.rb

Constant Summary collapse

APPLIERS_BY_TYPE =
{
  'IPS patch file' => ::Ehbrs::Tools::Vg::Patches::IpsApplier,
  'VCDIFF binary diff' => ::Ehbrs::Tools::Vg::Patches::VcdiffApplier
}.freeze

Instance Method Summary collapse

Instance Method Details

#patch_typeString

Returns:

  • (String)


24
25
26
# File 'lib/ehbrs/tools/vg/patches/applier_factory.rb', line 24

def patch_type
  patch_path.info.description
end