lib/childprocess/jruby/io.rb in childprocess-0.5.9 vs lib/childprocess/jruby/io.rb in childprocess-0.6.0

- old
+ new

@@ -1,16 +1,16 @@ -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 - - +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 + +