Sha256: e0c079b8c202228d5fb0932982d04bb358c98c2ef4f0773812f9ddae118eaf97
Contents?: true
Size: 607 Bytes
Versions: 4
Compression:
Stored size: 607 Bytes
Contents
require 'resync' require 'resync/client/mixins/client_delegator' module Resync class Client module Mixins # A link container that is capable of providing those resources with a {Client} module LinkClientDelegate prepend ClientDelegator # Sets this object as the client provider delegate for each link. # @param value [Array<Link>] the links for this list def links=(value) super links.each { |l| l.client_delegate = self } end end end end class Augmented prepend Client::Mixins::LinkClientDelegate end end
Version data entries
4 entries across 4 versions & 1 rubygems