るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.140秒)

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. rsa p
  5. kernel p

ライブラリ

クラス

検索結果

Pathname#binread(*args) -> String | nil (21142.0)

IO.binread(self.to_s, *args)と同じです。

...IO.binread(self.to_s, *args)と同じです。

//emlist[例][ruby]{
require "pathname"

p
athname = Pathname("testfile")
p
athname.binread # => "This is line one\nThis is line two\nThis is line three\nAnd so on...\n"
p
athname.binread(20) # => "This is line one\nThi"
p
athname.binread(2...
...0, 10) # => "ne one\nThis is line "
//}

@see IO.binread...