lib/forwardablex.rb
def delegate(hash)
    hash.each do |methods, receiver|
      forward!(receiver, *methods)
    end
  end
# Same as Forwardable#delegate, but you can specify receivers as instance
# variable name, Proc object, and plain object.
#
# @param hash [Hash]
#   the hash table contains keys as methods and values as recevier
# @return [void]
Same as Forwardable#delegate, but you can specify receivers as instance
variable name, Proc object, and plain object.
Same as Forwardable#delegate but you can specify receivers as instance variable name Proc object and plain object .
def delegate(hash)
    hash.each do |methods, receiver|
      forward!(receiver, *methods)
    end
  end
def delegate ( hash ) hash . each do | methods , receiver | forward! ( receiver , * methods ) end end
Same as Forwardable#delegate, but you can specify receivers as instance
variable name, Proc object, and plain object.
Same as Forwardable#delegate but you can specify receivers as instance variable name Proc object and plain object .
None
void
hash
the hash table contains keys as methods and values as recevier
the hash table contains keys as methods and values as recevier