--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: def_delegator block_params: comment: - !ruby/struct:SM::Flow::P body: Defines a method method which delegates to obj (i.e. it calls the method of the same name in obj). If new_name is provided, it is used as the name for the delegate method. - !ruby/struct:SM::Flow::P body: See the example at forwardable.rb. full_name: SingleForwardable#def_singleton_delegator is_singleton: false name: def_singleton_delegator params: (accessor, method, ali = method) visibility: public