Project

General

Profile

Actions

Feature #19128

closed

Hash#delete could take a second argument as the default value?

Added by dorianmariefr (Dorian Marié) about 2 years ago. Updated almost 2 years ago.

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

Description

e.g. {}.delete(:a, []) would return []

Actions

Also available in: Atom PDF

Like1
Like0Like0Like0Like0Like0