Current Path : /usr/local/share/ri/1.8/system/String/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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