るりまサーチ

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

別のキーワード

  1. rss title=
  2. rss date=
  3. rss link=
  4. rss description=
  5. rss content=

ライブラリ

検索結果

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