/usr/lib/ruby/vendor_ruby/childprocess/jruby/io.rb is in ruby-childprocess 0.5.9-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | module ChildProcess
module JRuby
class IO < AbstractIO
private
def check_type(output)
unless output.respond_to?(:to_outputstream) && output.respond_to?(:write)
raise ArgumentError, "expected #{output.inspect} to respond to :to_outputstream"
end
end
end # IO
end # Unix
end # ChildProcess
|