class ChildProcess::JRuby::IO

Private Instance Methods

check_type(output) click to toggle source
# File lib/childprocess/jruby/io.rb, line 6
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