るりまサーチ

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

別のキーワード

  1. string []=
  2. string slice!
  3. string slice
  4. string []
  5. string gsub

ライブラリ

クラス

キーワード

検索結果

Pathname#write(string, offset=nil, **opts) -> Integer (3209.0)

...IO.write(self.to_s, string, offset, **opts)と同じです。

@see IO.write...

Pathname#binwrite(string, offset=nil) -> Integer (3203.0)

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

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


@see IO.binwrite

Proc#source_location -> [String, Integer] | nil (221.0)

ソースコードのファイル名と行番号を配列で返します。

...ティブ
である)場合は nil を返します。


//emlist[例][ruby]{
# /path/to/target.rb を実行
proc {}.source_location # => ["/path/to/target.rb", 1]
proc {}.source_location # => ["/path/to/target.rb", 2]
(eval "proc {}").source_location # => ["(eval)", 1]
method(...