D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
SingleForwardable
/
Filename :
cdesc-SingleForwardable.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "The SingleForwardable module provides delegation of specified methods to a designated object, using the methods #def_delegator and #def_delegators. This module is similar to Forwardable, but it works on objects themselves, instead of their defining classes." - !ruby/struct:SM::Flow::P body: Also see the example at forwardable.rb. constants: [] full_name: SingleForwardable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: def_delegator - !ruby/object:RI::MethodSummary name: def_delegators - !ruby/object:RI::MethodSummary name: def_singleton_delegator - !ruby/object:RI::MethodSummary name: def_singleton_delegators name: SingleForwardable superclass: