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