るりまサーチ

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

別のキーワード

  1. rexml/parsers/sax2parser listen
  2. sax2parser listen
  3. argf.class lines
  4. open3 popen2
  5. open3 popen2e

ライブラリ

検索結果

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