るりまサーチ (Ruby 2.5.0)

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

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. ipaddr to_i
  5. csv to_i

検索結果

JSON.#restore(source, proc = nil, options = {}) -> object (45640.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"...

Win32::Registry::Constants::REG_OPTION_BACKUP_RESTORE (27607.0)

@todo

@todo

Win32::Registry::Constants::REG_OPTION_CREATE_LINK (27607.0)

@todo

@todo

Win32::Registry::Constants::REG_LEGAL_OPTION (18307.0)

@todo

@todo

Win32::Registry::Constants::REG_OPTION_NON_VOLATILE (18307.0)

@todo

@todo

絞り込み条件を変える

Win32::Registry::Constants::REG_OPTION_OPEN_LINK (18307.0)

@todo

@todo

Win32::Registry::Constants::REG_OPTION_RESERVED (18307.0)

@todo

@todo

Win32::Registry::Constants::REG_OPTION_VOLATILE (18307.0)

@todo

@todo

JSON.#load(source, proc = nil, options = {}) -> object (340.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"...