Feature #210 [ruby-reference-manual:1014]

String#<<のサンプルコードを追加する

Added by Yutaka HARA 368 days ago. Updated 364 days ago.

Status :Closed Start :07/01/2008
Priority :Normal Due date :
Assigned to :taifu kouya % Done :

100%

Category :doc
Target version :-
reporter :

matsue

ruby_version :


Description

String#concatにはサンプルがあるが<<にはないので、両方あるといいだろう。
 str = "string"
 str.concat "XXX"
 p str    # => "stringXXX"
 str << "YYY"
 p str    # => "stringXXXYYY"

こんな感じか?

Associated revisions

Revision 2887
Added by kouya 364 days ago

add Feature #210 [ruby-reference-manual:1014]

History

07/04/2008 10:50 PM - taifu kouya

  • Status changed from Open to Assigned
  • Assigned to set to taifu kouya
  • % Done changed from 0 to 10

07/04/2008 11:07 PM - taifu kouya

  • Status changed from Assigned to Closed
  • % Done changed from 10 to 100
Applied in changeset r2887.

Also available in: Atom PDF