種類
- 特異メソッド (84)
- 文書 (19)
- インスタンスメソッド (12)
キーワード
-
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 6 . 0 (7) -
for
_ fd (12) - new (12)
- open (24)
- write (24)
検索結果
-
IO
. write(path , string , offset=nil , **opts) -> Integer (6.0) -
path で指定されるファイルを開き、string を書き込み、 閉じます。
...text) # => 66
IO.write("testfile", "0123456789", 20) #=> 10
IO.read("testfile")
# => "This is line one\nThi0123456789two\nThis is line three\nAnd so on...\n"
IO.write("testfile", "0123456789") #=> 10
IO.read("testfile") # => "0123456789"
//}
@see IO.binwrite... -
NEWS for Ruby 2
. 1 . 0 (6.0) -
NEWS for Ruby 2.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...同じ名前を使うことをサポートしました (Set-Cookieのように)
* Pathname
* 追加: Pathname#write
* 追加: Pathname#binwrite
* rake
* 10.1.0 に更新しました。古い名前空間を削除しました。また、古い rake の機能も削除しました。...