method
capture
v6.1.3.1 -
Show latest stable
- Class:
ActiveStorage::Previewer
capture(*argv, to:)private
No documentation available.
# File activestorage/lib/active_storage/previewer.rb, line 71
def capture(*argv, to))
to.binmode
IO.popen(argv, err: File::NULL) { |out| IO.copy_stream(out, to) }
to.rewind
end