Project

General

Profile

Actions

Feature #14043

closed

Introduce Process.last_status as an alias for $?

Added by mrkn (Kenta Murata) about 7 years ago. Updated about 7 years ago.

Status:
Closed
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

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0