Method: Germinate::ShellProcess#call

Defined in:
lib/germinate/shell_process.rb

#call(input) ⇒ Object



21
22
23
24
25
26
27
28
29
# File 'lib/germinate/shell_process.rb', line 21

def call(input)
  if pipe?
    call_command_in_pipe(input)
  elsif input.whole_file?
    call_command_on_source_file(input)
  else
    call_command_on_temp_file(input)
  end
end