lib/fishwife/hijacked_io.rb
# Writes the given str to the #output_stream as bytes. If str is
# not a ruby String, it will be converted using Object#to_s.
# Returns the bytesize of the String (Java's OutputStream#write is
# never partial).
Writes the given str to the #output_stream as bytes. If str is
not a ruby String, it will be converted using Object#to_s.
Returns the bytesize of the String (Java's OutputStream#write is
never partial).
Writes the given str to the #output_stream as bytes . If str is not a ruby String it will be converted using Object#to_s . Returns the bytesize of the String ( Java ' s OutputStream#write is never partial ) .
def write(str)
      str = str.to_s
      IOUtil.write(str, out_stream)
      str.bytesize
    end
def write ( str ) str = str . to_s IOUtil . write ( str , out_stream ) str . bytesize end
Writes the given str to the #output_stream as bytes.
Writes the given str to the #output_stream as bytes .
str
<not_specific>