るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.155秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:-[x] > クエリ:@[x] > クエリ:write[x] > クラス:Object[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

検索結果

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

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

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

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

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

@
see $...