るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.013秒)
トップページ > クラス:Gem::Requirement[x] > クエリ:specific?[x]

別のキーワード

  1. requirement specific?
  2. command specific_extra_args
  3. command add_specific_extra_args
  4. rubygems/requirement specific?
  5. command specific_extra_args_hash

ライブラリ

検索結果

Gem::Requirement#specific? -> bool (18120.0)

条件に上限のある指定で、最新のバージョンにマッチしない可能性のある場合は、true を返します。

...ある指定で、最新のバージョンにマッチしない可能性のある場合は、true を返します。

//emlist[][ruby]{
p Gem::Requirement.new(">= 3").specific? # => false
p Gem::Requirement.new("~> 3").specific? # => true
p Gem::Requirement.new("= 3").specific? # => true
//}...