Ruby 初心者スレッド Part 26 at TECH
[2ch|▼Menu]
586:デフォルトの名無しさん
09/03/22 17:39:38
>>585
自分ならString#%を使う。

str = "want_to_replace_%s"
puts str % "this"
puts str % "that"



次ページ
続きを表示
1を表示
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
暇つぶし2ch

5393日前に更新/257 KB
担当:undef