Class: Ehbrs::Tools::Vg::Patches::BaseApplier
- Inherits:
-
Object
- Object
- Ehbrs::Tools::Vg::Patches::BaseApplier
show all
- Defined in:
- lib/ehbrs/tools/vg/patches/base_applier.rb
Instance Method Summary
collapse
Instance Method Details
#apply(source_path, output_path) ⇒ Object
16
17
18
19
20
21
22
23
24
25
|
# File 'lib/ehbrs/tools/vg/patches/base_applier.rb', line 16
def apply(source_path, output_path)
source_path = source_path.to_pathname
output_path = output_path.to_pathname
command(source_path, output_path).system!
return if output_path.exist?
fatal_error("Applier returned without error, but output file \"#{output_path}\"" \
'does not exist')
end
|
#command(source_path, output_path) ⇒ EacRubyUtils::Envs::Command
30
31
32
|
# File 'lib/ehbrs/tools/vg/patches/base_applier.rb', line 30
def command(source_path, output_path)
raise_abstract_method __method__, source_path, output_path
end
|