Server IP : 66.29.132.122 / Your IP : 18.227.190.228 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby18/share/ri/1.8/system/SingleForwardable/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: def_delegators block_params: comment: - !ruby/struct:SM::Flow::P body: "Shortcut for defining multiple delegator methods, but with no provision for using a different name. The following two code samples have the same effect:" - !ruby/struct:SM::Flow::VERB body: " single_forwardable.def_delegators :@records, :size, :<<, :map\n\n single_forwardable.def_delegator :@records, :size\n single_forwardable.def_delegator :@records, :<<\n single_forwardable.def_delegator :@records, :map\n" - !ruby/struct:SM::Flow::P body: See the example at forwardable.rb. full_name: SingleForwardable#def_singleton_delegators is_singleton: false name: def_singleton_delegators params: (accessor, *methods) visibility: public