method

delete

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: Parameters
delete(key, &block) public

Deletes a key-value pair from Parameters and returns the value. If key is not found, returns nil (or, with optional code block, yields key and returns the result). Cf. #extract!, which returns the corresponding +ActionController::Parameters+ object.

Show source
Register or log in to add new notes.