Project

General

Profile

Actions

Feature #14043

closed

Introduce Process.last_status as an alias for $?

Added by mrkn (Kenta Murata) over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:83514]

Description

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.

Actions

Also available in: Atom PDF