haxorqt
Home
Console
Upload
information
Create File
Create Folder
About
:
/
opt
/
alt
/
ruby23
/
share
/
ri
/
2.3.0
/
system
/
BasicObject
/
Filename :
__send__-i.ri
back
Copy
U:RDoc::AnyMethod[iI" __send__:ETI"BasicObject#__send__;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"?Invokes the method identified by _symbol_, passing it any ;TI"Harguments specified. You can use <code>__send__</code> if the name ;TI"6+send+ clashes with an existing method in _obj_. ;TI"HWhen the method is identified by a string, the string is converted ;TI"to a symbol.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"class Klass ;TI" def hello(*args) ;TI"# "Hello " + args.join(' ') ;TI" end ;TI" end ;TI"k = Klass.new ;TI"Dk.send :hello, "gentle", "readers" #=> "Hello gentle readers";T:@format0: @fileI"vm_eval.c;T:0@omit_headings_from_table_of_contents_below0I"�foo.send(symbol [, args...]) -> obj foo.__send__(symbol [, args...]) -> obj foo.send(string [, args...]) -> obj foo.__send__(string [, args...]) -> obj ;T0[ I"(*args);T@FI"BasicObject;TcRDoc::NormalClass00