method

prepend_features

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Module
prepend_features(p1) private

When this module is prepended in another, Ruby calls prepend_features in this module, passing it the receiving module in mod. Ruby’s default implementation is to overlay the constants, methods, and module variables of this module to mod if this module has not already been added to mod or one of its ancestors. See also Module#prepend.

Show source
Register or log in to add new notes.