るりまサーチ

最速Rubyリファレンスマニュアル検索!
240件ヒット [1-100件を表示] (0.042秒)

別のキーワード

  1. openssl g
  2. openssl g=
  3. dh g
  4. dh g=
  5. dsa g=

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 3 > >>

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
<< 1 2 3 > >>