HEX
Server: LiteSpeed
System: Linux s3.sitechai.com 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64
User: workzeni (2217)
PHP: 8.1.32
Disabled: mail, show_source, system, shell_exec, passthru, exec, eval, shell
Upload Files
File: //opt/alt/ruby18/share/ri/1.8/system/IO/write-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Writes the given string to <em>ios</em>. The stream must be opened for writing. If the argument is not a string, it will be converted to a string using <tt>to_s</tt>. Returns the number of bytes written.
- !ruby/struct:SM::Flow::VERB 
  body: "   count = $stdout.write( &quot;This is a test\\n&quot; )\n   puts &quot;That was #{count} bytes of data&quot;\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB 
  body: "   This is a test\n   That was 15 bytes of data\n"
full_name: IO#write
is_singleton: false
name: write
params: |
  ios.write(string)    => integer

visibility: public