[ruby-core:74882] [Ruby trunk Feature#12268] Open3 should use extend self instead of module_function calls

From: danzoid61@...
Date: 2016-04-11 20:29:25 UTC
List: ruby-core #74882
Issue #12268 has been reported by Dan Rathbun.

----------------------------------------
Feature #12268: Open3 should use extend self instead of module_function calls
https://bugs.ruby-lang.org/issues/12268

* Author: Dan Rathbun
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
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".



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next