Project

General

Profile

Actions

Feature #22485

closed

ensure modifier

Feature #22485: ensure modifier

Added by UlyssesZhan (Ulysses Zhan) about 1 month ago. Updated 9 days ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:127273]

Description

Similar to the rescue modifier, an ensure modifier allows writing ensure block in one line: do_something ensure clean_up.

Actions

Also available in: PDF Atom