るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
15件ヒット [1-15件を表示] (0.067秒)
トップページ > バージョン:2.4.0[x] > クエリ:@[x] > クエリ:restore[x]

別のキーワード

  1. cgi restore
  2. cgi/session restore
  3. json restore
  4. pstore restore
  5. marshal restore

検索結果

JSON.#restore(source, proc = nil, options = {}) -> object (45358.0)

与えられた JSON 形式の文字列を Ruby オブジェクトとしてロードして返します。

与えられた JSON 形式の文字列を Ruby オブジェクトとしてロードして返します。

proc として手続きオブジェクトが与えられた場合は、読み込んだオブジェクトを
引数にその手続きを呼び出します。


require 'json'

str=<<JSON
[1,2,3]
JSON

JSON.load(str) # => [1,2,3]
JSON.load(str, proc{|v| p v }) # => [1,2,3]
# 以下が表示される
# 1
# 2
# 3
# [1,2,3]

str=<<JSON
{ "a"...

Marshal.#restore(port, proc = nil) -> object (45358.0)

port からマーシャルデータを読み込んで、元のオブジェクトと同 じ状態をもつオブジェクトを生成します。

port からマーシャルデータを読み込んで、元のオブジェクトと同
じ状態をもつオブジェクトを生成します。

proc として手続きオブジェクトが与えられた場合には読み込んだ
オブジェクトを引数にその手続きを呼び出します。

//emlist[例][ruby]{
str = Marshal.dump(["a", 1, 10 ** 10, 1.0, :foo])
p Marshal.load(str, proc {|obj| p obj})

# => "a"
# 1
# 10000000000
# 1.0
# :foo
# ["a", 1, 10000000000...

Win32::Registry::Constants::REG_FORCE_RESTORE (18352.0)

@todo

@todo

Win32::Registry::Constants::REG_OPTION_BACKUP_RESTORE (9352.0)

@todo

@todo

Win32::Registry::Constants::REG_NO_LAZY_FLUSH (9052.0)

@todo

@todo

絞り込み条件を変える

Win32::Registry::Constants::REG_REFRESH_HIVE (9052.0)

@todo

@todo

Win32::Registry::Constants::REG_WHOLE_HIVE_VOLATILE (9052.0)

@todo

@todo

JSON.#load(source, proc = nil, options = {}) -> object (58.0)

与えられた JSON 形式の文字列を Ruby オブジェクトとしてロードして返します。

与えられた JSON 形式の文字列を Ruby オブジェクトとしてロードして返します。

proc として手続きオブジェクトが与えられた場合は、読み込んだオブジェクトを
引数にその手続きを呼び出します。


require 'json'

str=<<JSON
[1,2,3]
JSON

JSON.load(str) # => [1,2,3]
JSON.load(str, proc{|v| p v }) # => [1,2,3]
# 以下が表示される
# 1
# 2
# 3
# [1,2,3]

str=<<JSON
{ "a"...

Marshal.#load(port, proc = nil) -> object (58.0)

port からマーシャルデータを読み込んで、元のオブジェクトと同 じ状態をもつオブジェクトを生成します。

port からマーシャルデータを読み込んで、元のオブジェクトと同
じ状態をもつオブジェクトを生成します。

proc として手続きオブジェクトが与えられた場合には読み込んだ
オブジェクトを引数にその手続きを呼び出します。

//emlist[例][ruby]{
str = Marshal.dump(["a", 1, 10 ** 10, 1.0, :foo])
p Marshal.load(str, proc {|obj| p obj})

# => "a"
# 1
# 10000000000
# 1.0
# :foo
# ["a", 1, 10000000000...

Win32::Registry::Constants::REG_LEGAL_OPTION (52.0)

@todo

@todo

絞り込み条件を変える

Win32::Registry::Constants::REG_OPTION_CREATE_LINK (52.0)

@todo

@todo

Win32::Registry::Constants::REG_OPTION_NON_VOLATILE (52.0)

@todo

@todo

Win32::Registry::Constants::REG_OPTION_OPEN_LINK (52.0)

@todo

@todo

Win32::Registry::Constants::REG_OPTION_RESERVED (52.0)

@todo

@todo

Win32::Registry::Constants::REG_OPTION_VOLATILE (52.0)

@todo

@todo

絞り込み条件を変える