240件ヒット
[1-100件を表示]
(0.042秒)
別のキーワード
ライブラリ
- ビルトイン (24)
- json (24)
-
win32
/ registry (192)
モジュール
- JSON (24)
- Kernel (24)
-
Win32
:: Registry :: API (192)
キーワード
- CloseKey (12)
- CreateKey (12)
- DeleteKey (12)
- DeleteValue (12)
- EnumKey (12)
- EnumValue (12)
- FlushKey (12)
- OpenKey (12)
- QueryInfoKey (12)
- QueryValue (12)
- SetValue (12)
-
block
_ given? (12) - generate (12)
- iterator? (12)
- packdw (12)
- packqw (12)
- unpackdw (12)
- unpackqw (12)
- unparse (12)
検索結果
先頭5件
-
Win32
:: Registry :: API . # check(result) (18102.0) -
@todo
@todo -
Kernel
. # block _ given? -> bool (6119.0) -
メソッドにブロックが与えられていれば真を返します。
...ートするとはいえないので)推奨されていないの
で block_given? を使ってください。
//emlist[例][ruby]{
def check
if block_given?
puts "Block is given."
else
puts "Block isn't given."
end
end
check{} #=> Block is given.
check #=> Block isn't given.
//}... -
JSON
. # generate(object , state = nil) -> String (6107.0) -
与えられたオブジェクトを一行の JSON 形式の文字列に変換して返します。
...ring that is put after, a : or , delimiter (default: '')
: :space_before
a string that is put before a : pair delimiter (default: '')
: :object_nl
a string that is put at the end of a JSON object (default: '')
: :array_nl
a string that is put at the end of a JSON array (default: '')
: :check_c......す。
デフォルトは偽です。
: :max_nesting
入れ子になっているデータの最大の深さを指定します。
偽を指定すると深さのチェックを行いません。デフォルトは 19 です。
@raise JSON::GeneratorError JSON::NaN, JSON::Infinity,JSON::MinusInfi......on"
JSON.generate([1, 2, { name: "tanaka", age: 19 }])
# => "[1,2,{\"name\":\"tanaka\",\"age\":19}]"
json_state = JSON::State.new(space: " ")
JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => "[1,2,{\"name\": \"tanaka\",\"age\": 19}]"
//}
@see JSON::State, JSON.#pretty_generate... -
JSON
. # unparse(object , state = nil) -> String (3107.0) -
与えられたオブジェクトを一行の JSON 形式の文字列に変換して返します。
...ring that is put after, a : or , delimiter (default: '')
: :space_before
a string that is put before a : pair delimiter (default: '')
: :object_nl
a string that is put at the end of a JSON object (default: '')
: :array_nl
a string that is put at the end of a JSON array (default: '')
: :check_c......す。
デフォルトは偽です。
: :max_nesting
入れ子になっているデータの最大の深さを指定します。
偽を指定すると深さのチェックを行いません。デフォルトは 19 です。
@raise JSON::GeneratorError JSON::NaN, JSON::Infinity,JSON::MinusInfi......on"
JSON.generate([1, 2, { name: "tanaka", age: 19 }])
# => "[1,2,{\"name\":\"tanaka\",\"age\":19}]"
json_state = JSON::State.new(space: " ")
JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => "[1,2,{\"name\": \"tanaka\",\"age\": 19}]"
//}
@see JSON::State, JSON.#pretty_generate... -
Kernel
. # iterator? -> bool (3019.0) -
メソッドにブロックが与えられていれば真を返します。
...ートするとはいえないので)推奨されていないの
で block_given? を使ってください。
//emlist[例][ruby]{
def check
if block_given?
puts "Block is given."
else
puts "Block isn't given."
end
end
check{} #=> Block is given.
check #=> Block isn't given.
//}... -
Win32
:: Registry :: API . # CloseKey(hkey) (3002.0) -
@todo
@todo -
Win32
:: Registry :: API . # CreateKey(hkey , name , opt , desired) (3002.0) -
@todo
@todo -
Win32
:: Registry :: API . # DeleteKey(hkey , name) (3002.0) -
@todo
@todo -
Win32
:: Registry :: API . # DeleteValue(hkey , name) (3002.0) -
@todo
@todo