Current Path : /usr/local/share/ri/1.8/system/Forwardable/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Forwardable/def_instance_delegators-i.yaml |
--- !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: " def_delegators :@records, :size, :<<, :map\n\n def_delegator :@records, :size\n def_delegator :@records, :<<\n def_delegator :@records, :map\n" - !ruby/struct:SM::Flow::P body: See the examples at Forwardable and forwardable.rb. full_name: Forwardable#def_instance_delegators is_singleton: false name: def_instance_delegators params: (accessor, *methods) visibility: public