HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/Module/module_function-i.ri
U:RDoc::AnyMethod[iI"module_function:ETI"Module#module_function;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[
I"ICreates module functions for the named methods. These functions may ;TI"Hbe called with the module as a receiver, and also become available ;TI"Cas instance methods to classes that mix in the module. Module ;TI"Afunctions are copies of the original, and so may be changed ;TI"Findependently. The instance-method versions are made private. If ;TI"Hused with no arguments, subsequently defined methods become module ;TI"functions. ;TI"/String arguments are converted to symbols.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"module Mod
;TI"  def one
;TI"    "This is one"
;TI"  end
;TI"  module_function :one
;TI"	end
;TI"class Cls
;TI"  include Mod
;TI"  def call_one
;TI"
    one
;TI"  end
;TI"	end
;TI"#Mod.one     #=> "This is one"
;TI"c = Cls.new
;TI"#c.call_one  #=> "This is one"
;TI"module Mod
;TI"  def one
;TI"    "This is the new one"
;TI"  end
;TI"	end
;TI"#Mod.one     #=> "This is one"
;TI"*c.call_one  #=> "This is the new one";T:@format0:
@fileI"vm_method.c;T:0@omit_headings_from_table_of_contents_below0I"Umodule_function(symbol, ...)    -> self
module_function(string, ...)    -> self
;T0[I"(*args);T@.FI"Module;TcRDoc::NormalClass00