[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>

Hello,

9 messages 2017/10/04

[ruby-core:83514] [Ruby trunk Feature#14043] Introduce Process.last_status as an alias for $?

From: muraken@...
Date: 2017-10-23 01:56:53 UTC
List: ruby-core #83514
Issue #14043 has been reported by mrkn (Kenta Murata).

----------------------------------------
Feature #14043: Introduce Process.last_status as an alias for $?
https://bugs.ruby-lang.org/issues/14043

* Author: mrkn (Kenta Murata)
* Status: Open
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: 2.5
----------------------------------------
I found that we don't have any methods for an alias to `$?`, like `MatchData.last_match` for `$~`.

I propose to introduce `Process.last_status` method for that purpose.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next