Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/String/concat-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Append---Concatenates the given object to <em>str</em>. If the object is a <tt>Fixnum</tt> between 0 and 255, it is converted to a character before concatenation.
- !ruby/struct:SM::Flow::VERB
body: " a = "hello "\n a << "world" #=> "hello world"\n a.concat(33) #=> "hello world!"\n"
full_name: String#concat
is_singleton: false
name: concat
params: |
str << fixnum => str
str.concat(fixnum) => str
str << obj => str
str.concat(obj) => str
visibility: public