Ruby 2.6.0 リファレンスマニュアル > ライブラリ一覧 > pathnameライブラリ > Pathnameクラス > binwrite

instance method Pathname#binwrite

binwrite(string, offset=nil) -> Integer[permalink][rdoc]

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

[SEE_ALSO] IO.binwrite