32件ヒット
[1-32件を表示]
(0.215秒)
種類
- インスタンスメソッド (17)
- 特異メソッド (11)
- 文書 (4)
ライブラリ
- ビルトイン (22)
-
shell
/ command-processor (6)
クラス
- File (11)
-
File
:: Stat (11) -
Shell
:: CommandProcessor (6)
検索結果
先頭4件
-
File
. zero?(path) -> bool (30200.0) -
FileTest.#zero? と同じです。
...
FileTest.#zero? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
File
:: Stat # zero? -> bool (27113.0) -
サイズが0である時に真を返します。
...サイズが0である時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).zero? #=> false
//}... -
Shell
:: CommandProcessor # zero?(file) -> bool (21307.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#zero?... -
NEWS for Ruby 3
. 0 . 0 (498.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...word arguments are now separated 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 match......with Enumerator::ArithmeticSequence
//emlist[][ruby]{
dirty_data = ['--', 'data1', '--', 'data2', '--', 'data3']
dirty_data[(1..).step(2)] # take each second element
# => ["data1", "data2", "data3"]
//}
* Binding
* Binding#eval when called with one argument will use `"(eval)"` for `__FILE__......ent array. 12706
* Now `{ a: 1 }.each(&->(k, v) { })` raises an ArgumentError due to lambda's arity check.
* When writing to STDOUT redirected to a closed pipe, no broken pipe error message will be shown now. 14413
* `TRUE`/`FALSE`/`NIL` constants are no longer defined.
* Integer#zero? ov...