Project

General

Profile

Actions

Feature #22473

open

Object#preextend, Module#preextend_object, and Module#preextended

Feature #22473: Object#preextend, Module#preextend_object, and Module#preextended

Added by UlyssesZhan (Ulysses Zhan) about 6 hours ago. Updated about 6 hours ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:127239]

Description

Basically preextend is equivalent to singleton_class.prepend. Since we already have extend (basically equivalent to singleton_class.include), why not have preextend?

Related: #6452 #8041

Updated by UlyssesZhan (Ulysses Zhan) about 6 hours ago Actions #1

  • Subject changed from Module#preextend, Module#preextend_object, and Module#preextended to Object#preextend, Module#preextend_object, and Module#preextended
Actions

Also available in: PDF Atom