rb_include_module

Function rb_include_module 

Source
pub unsafe extern "C" fn rb_include_module(
    klass: VALUE,
    module: VALUE,
)
Expand description

Includes a module to a class.

@param[out] klass Inclusion destination. @param[in] module Inclusion source. @exception rb_eArgError Cyclic inclusion.

@internal

§:FIXME: @shyouhei suspects this function lacks assertion that the arguments being modules… Could silently SEGV if non-module was passed?

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3