るりまサーチ

最速Rubyリファレンスマニュアル検索!
1124件ヒット [101-200件を表示] (0.013秒)

別のキーワード

  1. _builtin ord
  2. string ord
  3. integer ord
  4. ord _builtin

ライブラリ

検索結果

<< < 1 2 3 4 ... > >>

Gem::DependencyList#dependency_order -> [Gem::Specification] (6100.0)

依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。

...If there are circular dependencies (yuck!), then gems will be
returned in order until only the circular dependents and anything
they reference are left. Then arbitrary gemspecs will be returned
until the circular dependency is broken, after which gems will be
returned in dependency order again....

Gem::Validator::ErrorData (6100.0)

@todo

@todo

エラー情報を記録するための構造体です。
以下の属性を持っています。

* path
* problem

GetoptLong#ordering -> Integer (6100.0)

現在の順序形式を返します。

現在の順序形式を返します。

GetoptLong::ORDERINGS -> Array (6100.0)

内部で使用する定数です。

...内部で使用する定数です。

GetoptLong::REQUIRE_ORDER, GetoptLong::PERMUTE,
GetoptLong::RETURN_IN_ORDER がセットされています。...

GetoptLong::REQUIRE_ORDER -> 0 (6100.0)

非オプション引数の後に来たオプションは、オプションとして認識しません。 最初に非オプション引数が現れた時点で、オプションの解析処理を中止します。

非オプション引数の後に来たオプションは、オプションとして認識しません。
最初に非オプション引数が現れた時点で、オプションの解析処理を中止します。

絞り込み条件を変える

GetoptLong::RETURN_IN_ORDER -> 2 (6100.0)

オプションと他の非オプション引数はどんな順序で並んでも良いが、お互いの 順序は保持したままにしたいというプログラムのための形式です。

オプションと他の非オプション引数はどんな順序で並んでも良いが、お互いの
順序は保持したままにしたいというプログラムのための形式です。

Hash.ruby2_keywords_hash?(hash) -> bool (6100.0)

Module#ruby2_keywordsやProc#ruby2_keywordsによる ruby2_keywords フラグが設定されているかどうかを返します。

...Module#ruby2_keywordsやProc#ruby2_keywordsによる
ruby2_keywords フラグが設定されているかどうかを返します。

このメソッドはデバッグや調査、シリアライゼーションのために本当に必要な場合のために
用意されていて、普通のプログ...
...れていません。

ruby 2.7.1 で追加されたため、ruby 2.7.0 では定義されていません。

//emlist[][ruby]{
ruby2_keywords def foo(*args)
Hash.ruby2_keywords_hash?(args.last)
end
foo(k: 1) # => true
foo({k: 1}) # => false
//}

@see Module#ruby2_keywords, Proc#ruby2_keywords...

Kernel$$INPUT_RECORD_SEPARATOR -> String | nil (6100.0)

$/ の別名

...$/ の別名

require "English"

$INPUT_RECORD_SEPARATOR = '|'
array = []
while line = DATA.gets
array << line
end
p array #=> ["ugo|", "ego|", "fogo\n"]

__END__
ugo|ego|fogo...

MiniTest::Unit::TestCase.test_order -> Symbol (6100.0)

テストの実行順序を返します。

テストの実行順序を返します。

デフォルトはランダムです。

Module#ruby2_keywords(method_name, ...) -> nil (6100.0)

For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.

...s, marks the method as passing keywords through
a normal argument splat. This should only be called on methods that
accept an argument splat (`*args`) but not explicit keywords or a
keyword splat. It marks the method such that if the method is called
with keyword arguments, the final hash argument...
...that method call does not include explicit
keywords or a keyword splat, the final element is interpreted as
keywords. In other words, keywords will be passed through the method to
other methods.

This should only be used for methods that delegate keywords to another
method, and only for backwards co...
...aware that if this method is removed, the behavior of the
method will change so that it does not pass through keywords.

//emlist[例][ruby]{
module Mod
def foo(meth, *args, &block)
send(:"do_#{meth}", *args, &block)
end
ruby2_keywords(:foo) if respond_to?(:ruby2_keywords, true)
end
//}...

絞り込み条件を変える

OpenSSL::PKey::EC::Group#order -> OpenSSL::BN (6100.0)

生成元の位数を返します。

生成元の位数を返します。

@raise OpenSSL::PKey::EC::Group::Error 位数の取得に失敗した場合に発生します
<< < 1 2 3 4 ... > >>