Feature #210
String#<<のサンプルコードを追加する
| Status: | Closed | Start date: | 07/01/2008 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % 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
add Feature #210 [ruby-reference-manual:1014]
History
Updated by kouya (taifu kouya) almost 4 years ago
- Status changed from Open to Assigned
- Assignee set to kouya (taifu kouya)
- % Done changed from 0 to 10
Updated by kouya (taifu kouya) almost 4 years ago
- Status changed from Assigned to Closed
- % Done changed from 10 to 100
Applied in changeset r2887.