Class: Recode::Handler::Output

Inherits:
Base
  • Object
show all
Defined in:
lib/recode/handler/output.rb

Direct Known Subclasses

Apply, Prompt

Instance Method Summary collapse

Methods inherited from Base

#rename_file, #save_file, #show_edit, #show_rename

Methods included from Diffing

#diff

Instance Method Details

#edit(file:, before:, after:) ⇒ Object



8
9
10
# File 'lib/recode/handler/output.rb', line 8

def edit(file:, before:, after:)
  show_edit file: file, before: before, after: after
end

#rename(source:, target:) ⇒ Object



4
5
6
# File 'lib/recode/handler/output.rb', line 4

def rename(source:, target:)
  show_rename source: source, target: target
end