Mini Shell
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: If <em>obj</em> is <tt>Numeric</tt>, write the character whose code is <em>obj</em>, otherwise write the first character of the string representation of <em>obj</em> to <em>ios</em>.
- !ruby/struct:SM::Flow::VERB
body: " $stdout.putc "A"\n $stdout.putc 65\n"
- !ruby/struct:SM::Flow::P
body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB
body: " AA\n"
full_name: IO#putc
is_singleton: false
name: putc
params: |
ios.putc(obj) => obj
visibility: public
Zerion Mini Shell 1.0