Project

General

Profile

Actions

Feature #12268

closed

Open3 should use extend self instead of module_function calls

Added by DanRathbun (Dan Rathbun) about 8 years ago. Updated over 7 years ago.

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

Description

Open3 should use extend self instead of module_function calls after defining each method.

Using module_function causes access issues when the Open3 module is mixed into other class or module namespaces. Ie, the very method proxies I wish to use in my "mixee" class, get created as private because of module_function in "open3.rb".

Actions

Also available in: Atom PDF

Like0
Like0