D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Module
/
Filename :
method_undefined-i.ri
back
Copy
U:RDoc::AnyMethod[iI"method_undefined:ETI"Module#method_undefined;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MInvoked as a callback whenever an instance method is undefined from the ;TI"receiver.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"module Chatty ;TI". def self.method_undefined(method_name) ;TI"2 puts "Undefining #{method_name.inspect}" ;TI" end ;TI"( def self.some_class_method() end ;TI"& def some_instance_method() end ;TI" class << self ;TI") undef_method :some_class_method ;TI" end ;TI"* undef_method :some_instance_method ;TI" end ;T:@format0o; ; [I"<em>produces:</em>;T@o;; [I"%Undefining :some_instance_method;T; 0: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"#method_undefined(method_name) ;T0[ I" (p1);T@#FI"Module;TcRDoc::NormalClass00