method

capture

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