U:RDoc::AnyMethod[iI"define_singleton_method:ETI"#Object#define_singleton_method;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I">Defines a singleton method in the receiver. The _method_ ;TI"Iparameter can be a +Proc+, a +Method+ or an +UnboundMethod+ object. ;TI" "I am: A" ;TI" ;TI"guy = "Bob" ;TI"Eguy.define_singleton_method(:hello) { "#{self}: Hello there!" } ;TI"*guy.hello #=> "Bob: Hello there!";T: @format0: @fileI" proc.c;T:0@omit_headings_from_table_of_contents_below0I"kdefine_singleton_method(symbol, method) -> symbol define_singleton_method(symbol) { block } -> symbol ;T0[I" (*args);T@"FI" Object;TcRDoc::NormalClass00