るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.019秒)
トップページ > モジュール:Marshal[x] > バージョン:2.4.0[x] > クエリ:Object#marshal_load[x]

別のキーワード

  1. << rexml::attribute#name
  2. add rexml::attribute#name
  3. handle_interrupt thread#raise
  4. inspect? irb::context#inspect_mode
  5. inspect? irb::context#inspect_mode=

ライブラリ

検索結果

Marshal.#dump(obj, limit = -1) -> String (22.0)

obj を指定された出力先に再帰的に出力します。

...フォルト値を求めるブロックを持った Hash は
Proc を間接的に指していることになります。

//emlist[例][ruby]{
p Marshal.dump(Hash.new {})
# => -:1:in `dump': cannot dump hash with default proc (TypeError)
//}

マーシャルの動作を任意に定義することも...
...オブジェクトをダンプしようとした場合に発生します。

@raise ArgumentError limit 段以上深くリンクしたオブジェクトをダンプしようと
した場合に発生します。

@see Object#marshal_dump, Object#marshal_load...

Marshal.#dump(obj, port, limit = -1) -> IO (22.0)

obj を指定された出力先に再帰的に出力します。

...フォルト値を求めるブロックを持った Hash は
Proc を間接的に指していることになります。

//emlist[例][ruby]{
p Marshal.dump(Hash.new {})
# => -:1:in `dump': cannot dump hash with default proc (TypeError)
//}

マーシャルの動作を任意に定義することも...
...オブジェクトをダンプしようとした場合に発生します。

@raise ArgumentError limit 段以上深くリンクしたオブジェクトをダンプしようと
した場合に発生します。

@see Object#marshal_dump, Object#marshal_load...