るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

クラス

検索結果

Gem::Requirement#specific? -> bool (63958.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
//}