るりまサーチ

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

別のキーワード

  1. rbconfig ruby
  2. fiddle ruby_free
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

ライブラリ

検索結果

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

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

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

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

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