D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Forwardable
/
Filename :
def_instance_delegator-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: def_delegator block_params: comment: - !ruby/struct:SM::Flow::P body: Defines a method <em>method</em> which delegates to <em>obj</em> (i.e. it calls the method of the same name in <em>obj</em>). If <em>new_name</em> is provided, it is used as the name for the delegate method. - !ruby/struct:SM::Flow::P body: See the examples at Forwardable and forwardable.rb. full_name: Forwardable#def_instance_delegator is_singleton: false name: def_instance_delegator params: (accessor, method, ali = method) visibility: public