るりまサーチ (Ruby 3.1)

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

別のキーワード

  1. range min
  2. range max
  3. net/http set_range
  4. httpheader set_range
  5. range step

ライブラリ

クラス

検索結果

Range#exclude_end? -> bool (108643.0)

範囲オブジェクトが終端を含まないとき真を返します。

範囲オブジェクトが終端を含まないとき真を返します。

//emlist[例][ruby]{
(1..5).exclude_end? # => false
(1...5).exclude_end? # => true
//}