るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.040秒)
トップページ > クエリ:IO.new[x] > クエリ:>>[x] > クエリ:gsub![x] > クエリ:to_a[x] > クエリ:ui=[x] > クラス:Object[x]

別のキーワード

  1. _builtin gsub
  2. string gsub!
  3. _builtin gsub!
  4. string gsub
  5. _builtin >>

ライブラリ

検索結果

Object#display(out = $stdout) -> nil (13.0)

オブジェクトを out に出力します。

...][ruby]{
class Object
def display(out = $stdout)
out.write self
nil
end
end
//}

@param out 出力先のIOオブジェクトです。指定しない場合は標準出力に出力されます。
@return nil を返します。

//emlist[][ruby]{
Object
.new.display #=> #<Object:0xbb0210>
//...