Sha256: f8b5c4b8b89be47ddcc68241bc00748298ec2531974584ed807e97940e5520c6
Contents?: true
Size: 671 Bytes
Versions: 18
Compression:
Stored size: 671 Bytes
Contents
module CurationConcerns # The CurationConcern Abstract actor responds to two primary actions: # * #create # * #update # # and the following attributes # # * next_actor # * curation_concern # * user # # it must instantiate the next actor in the chain and instantiate it. # it should respond to curation_concern, user and attributes. # it ha to next_actor class AbstractActor attr_reader :next_actor def initialize(_curation_concern, _user, next_actor) @next_actor = next_actor end delegate :curation_concern, :user, to: :next_actor delegate :create, to: :next_actor delegate :update, to: :next_actor end end
Version data entries
18 entries across 18 versions & 2 rubygems