別のキーワード
種類
- インスタンスメソッド (55)
- 文書 (34)
ライブラリ
クラス
-
Gem
:: DependencyInstaller (11) -
Gem
:: DependencyList (11) -
Gem
:: GemPathSearcher (22) -
Gem
:: SourceIndex (11)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) -
find
_ all (11) -
find
_ name (22) -
find
_ spec _ by _ name _ and _ version (11)
検索結果
先頭5件
- Gem
:: GemPathSearcher # find(path) -> Gem :: Specification | nil - Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array - Gem
:: GemPathSearcher # find _ all(path) -> [Gem :: Specification] - Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification - Gem
:: DependencyList # find _ name(full _ name) -> Gem :: Specification | nil
-
Gem
:: GemPathSearcher # find(path) -> Gem :: Specification | nil (24324.0) -
与えられたパスにマッチする Gem::Specification を一つだけ返します。
...与えられたパスにマッチする Gem::Specification を一つだけ返します。
@see Enumerable#find... -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (15553.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
...与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定しま... -
Gem
:: GemPathSearcher # find _ all(path) -> [Gem :: Specification] (12324.0) -
与えられたパスにマッチする Gem::Specification を全て返します。
...与えられたパスにマッチする Gem::Specification を全て返します。
@see Enumerable#find_all... -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (9638.0) -
短い名前で正確にマッチする Gem を返します。
...短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement... -
Gem
:: DependencyList # find _ name(full _ name) -> Gem :: Specification | nil (9330.0) -
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
...身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
見つからなかった場合は nil を返します。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name... -
NEWS for Ruby 3
. 1 . 0 (144.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...Prime.each_cons(2).lazy.find_all{_1 in [n, ^(n + 2)]}.take(3).to_a
#=> [[3, 5], [5, 7], [11, 13]]
//}
* ピン演算子がインスタンス変数、クラス変数、グローバル変数をサポートしました。 17724
//emlist{
@n = 5
Prime.each_cons(2).lazy.find{_1 in [n, ^@n]}
#=> [3,......te def foo = puts "Hello" はパースされないことに注意してください。 17398
== コマンドラインオプション
* --disable-gems は"デバッグ専用"として明示的に宣言されました。デバッグ専用以外のコードでは使用しないでください。 17......rependしている場合、継承ツリーを変更しません。 17423
* Module#private, Module#public, Module#protected, Module#module_functionが引数を返すようになりました。引数が1つでも渡されている場合、それが返されます。引数なしの場合、nilが... -
NEWS for Ruby 2
. 0 . 0 (138.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...警告しなくなりました
=== 組み込みクラスの更新
* ARGF.class
* 追加: ARGF.class#codepoints, ARGF.class#each_codepoint
IO にある同名のメソッドに対応します
* Array
* 追加: Array#bsearch 二分探索します
* 非互換:
* Array#shuf......になりました
* pathname
* 拡張: Pathname#find ブロックを与えない場合 Enumerator を返すようになりました
* rake
* 0.9.5 に更新
* This version is backwards-compatible with previous rake versions and
contains many bug fixes.
* See http:/......とんどのユーザーに影響はないでしょう。
* 注目すべき変更
* riがページをサポートしました。これはGemでも動作します。
//emlist{
# ruby に含まれるページリストを表示する
$ ri ruby:
# リテラルに関する文法を表示... -
NEWS for Ruby 2
. 2 . 0 (102.0) -
NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...た。
* 改善: メジャーGCにインクリメンタルマーキングを導入しました。 10137
* IO
* 改善: Windows上でパイプのための IO#read_nonblock, IO#write_nonblock をサポートしました。
* Kernel
* 追加: Kernel.#itself(Object#itself)
* 改善......。
* etc
* 追加: Etc.#uname
* 追加: Etc.#sysconf
* 追加: Etc.#confstr
* 追加: IO#pathconf
* 追加: Etc.#nprocessors
* find, pathname
* 拡張: Find.#find は "ignore_error" というキーワード引数を受け付けるようになりました
* Matrix......tp://docs.seattlerb.org/rake/History_rdoc.html#label-10.4.0
* rubygems
* RubyGems 2.4.2 になりました。リリースノートの全てはリンク先を参照してください。
http://docs.seattlerb.org/rubygems/History_txt.html#label-2.4.2+%2F+2014-10-01
* tsort
* TSort.... -
NEWS for Ruby 3
. 0 . 0 (90.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now matches the behavior of Procs......rue` or `false`. 17371
//emlist{
0 => a
p a #=> 0
{b: 0, c: 1} => {b:}
p b #=> 0
//}
//emlist{
# version 3.0
0 in 1 #=> false
# version 2.7
0 in 1 #=> raise NoMatchingPatternError
//}
* Find-pattern is added. [EXPERIMENTAL]
16828
//emlist{
case ["a", 1, "b", "c", 2, "d", "e", "f", 3]
in......ruct@Caveats section.
* Pathname
* Ractor compatible.
* Psych
* Update to Psych 3.3.0
* This version is Ractor compatible.
* Reline
* Update to Reline 0.1.5
* RubyGems
* Update to RubyGems 3.2.3
* StringIO
* Update to StringIO 3.0.0
* This version is Ractor comp... -
NEWS for Ruby 2
. 6 . 0 (18.0) -
NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...なしに書くことができます:
//emlist{
user = users.find {|user| cond(user) }
//}
* 例外が捕捉されず、バックトレースとエラーメッセージが表示されるときに、
例外の Exception#cause も表示されるようになりました。 8257
* フリ......ップフロップが非推奨になりました。 5400
=== 組み込みクラスの更新
* Array
* 新規メソッド
* Array#union と Array#difference 14097
* 変更されたメソッド
* Array#to_h はブロックを受け取りキーと値のペアを新しいキー......nknown_element, :parser_class オプションが利用可能です。
* RubyGems
* RubyGems 3.0.1 に更新されました。
* https://blog.rubygems.org/2018/12/19/3.0.0-released.html
* https://blog.rubygems.org/2018/12/23/3.0.1-released.html
* Set
* 別名
* Set#filter!...