lib/forwardable/extended.rb
def rb_delegate(method, to: nil, alias_of: method, **kwd)
      raise ArgumentError, "to must be provided" unless to
      def_delegator(
        to, alias_of, method, **kwd
      )
    end
def rb_delegate(method, to: nil, alias_of: method, **kwd)
      raise ArgumentError, "to must be provided" unless to
      def_delegator(
        to, alias_of, method, **kwd
      )
    end
def rb_delegate ( method , to : nil , alias_of : method , ** kwd ) raise ArgumentError , "to must be provided" unless to def_delegator ( to , alias_of , method , ** kwd ) end
------------------------------------------------------------------------
 Delegate using a Rails-like interface.
 ------------------------------------------------------------------------
------------------------------------------------------------------------ Delegate using a Rails - like interface . ------------------------------------------------------------------------