Class: EhbrsRubyUtils::Vg::Patchers::ApplierFactory
- Inherits:
-
Object
- Object
- EhbrsRubyUtils::Vg::Patchers::ApplierFactory
- Defined in:
- lib/ehbrs_ruby_utils/vg/patchers/applier_factory.rb
Constant Summary collapse
- APPLIERS_BY_TYPE =
{ 'BPS patch file' => ::EhbrsRubyUtils::Vg::Patchers::BpsApplier, 'IPS patch file' => ::EhbrsRubyUtils::Vg::Patchers::IpsApplier, 'VCDIFF binary diff' => ::EhbrsRubyUtils::Vg::Patchers::VcdiffApplier }.freeze
Instance Method Summary collapse
Instance Method Details
#patch_type ⇒ String
20 21 22 |
# File 'lib/ehbrs_ruby_utils/vg/patchers/applier_factory.rb', line 20 def patch_type patch_path.info.description end |