るりまサーチ

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

別のキーワード

  1. openssl new
  2. _builtin new
  3. _builtin inspect
  4. _builtin []
  5. _builtin to_s

ライブラリ

検索結果

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>
//...