diff options
| author | Steven Webb <steve@buildkite.com> | 2026-01-11 21:13:27 +0800 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2026-02-02 14:00:17 +0900 |
| commit | 9715b29a19c1fcb714b0de67ab373f808fb3ac9d (patch) | |
| tree | 1a439e286e122deac63d0693fdeae3c2390f0408 | |
| parent | 9368ec5e8b992856d554f57c56e4d5a9c45f0f38 (diff) | |
Update array.rb
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
| -rw-r--r-- | array.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -298,7 +298,7 @@ class Array while Primitive.cexpr!(%q{ ary_fetch_next(self, LOCAL_PTR(_i), LOCAL_PTR(value)) }) return value if yield(value) end - if_none_proc ? if_none_proc.call : nil + if_none_proc&.call end end end |
